Re:Functional data structures in JavaScript with Mori
by lmm on Tuesday November 12, 2013 @05:07AM
(#6716854)
That's only lisp and particularly faithful derivatives (unfortunately including clojure). Haskell uses more natural names - head, tail, last.
[ Parent
| on HN ]
Re:Functional data structures in JavaScript with Mori
by mjn on Tuesday November 12, 2013 @07:16AM
(#6717304)
Even most Lisps have first/rest as synonyms of car/cdr (dating back to some very old Lisps, and mandated by the Common Lisp standard). They just don't seem to have culturally caught on as idiomatic.