logoalt Hacker News

goldfishgoldtoday at 2:33 AM2 repliesview on HN

Scala has a similar data structure https://www.scala-lang.org/api/2.13.6/scala/collection/immut.... Something was in the air in 2013.


Replies

swannodettetoday at 3:39 AM

Clarifying Clojure had them in 2007. Scala implementations were inspired by Clojure’s. Both Odersky and Bagwell have given credit to Hickey.

stingraycharlestoday at 3:11 AM

It’s not a secret that they came from the same zeitgeist but took wildly different approaches, but inspired each other.

I still don’t understand why they’re referred to as persistent vectors rather than immutable vectors, but I digress.

show 2 replies