2 ms·
Correction: Clojure has linked lists and vectors. Haskell has both too. https://clojure.org/guides/learn/sequential_colls https://clojure.org/guides/learn/sequ
by ninjapenguin54 7y ago
Correction:
Clojure has linked lists and vectors. Haskell has both too.
https://clojure.org/guides/learn/sequential_colls https://clojure.org/guides/learn/sequential_colls
https://hackage.haskell.org/package/vector-0.12.1.2/docs/Data-Vector.html https://hackage.haskell.org/package/vector-0.12.1.2/docs/Dat...
Don't blame the language, & learn to use the right data structure for the job.
- didibus 7y agoParent was talking about default data-structure, and for Clojure Vectors are the default "list" data-structure, even though it has other type of lists. Not trying to throw any of the other languages mentioned under the bus, I do not know them well enough to know what list structure they default too or more idiomatically rely on.