3 ms·
> is there a lisp dialect that makes common data structures available in a multitude of ways? Clojure. The language is built around immutable data structures w
by samatman 3y ago
> is there a lisp dialect that makes common data structures available in a multitude of ways?
Clojure. The language is built around immutable data structures with the expected interface for maps and vectors, and the idiomatic list-churning we're both referring to is unified through the sequence abstraction. So switching from a vector to a map can often be as simple as switching constructors. Because they're immutable, every operation makes a "copy" but does so efficiently.
I don't have a lot of use for Clojure these days but I enjoyed working with it. Rich Hickey is a smart fella.
- rpd9803 3y agothis is a controversial take, but IMHO, the immutable data structures make Clojurescript (+ Reagent) a very, very nice way to build SPAs.