Re:Arc: Where are we going?
by jimbokun on Saturday October 25, 2008 @10:18PM
(#343975)
Clojure seems to tackle this problem by having different "iterable" data types (lists, hashes, vectors), but having them implement a common interface that allows many functions to operate on all of them.
[ Parent
| on HN ]
I think Clojure does this well; this solution pretty much requires that every collection is a full-fledged object, though, which is why I can't see it going into Arc. Maybe you could special-case lists and hash tables.