Arc Forumnew | comments | leaders | submitlogin
6 points by almkglor 5905 days ago | link | parent

Oh, Clojure is not quite completely immutable. Clojure has refs, and they can be mutated within the context of a 'dosync form. Kind of like the Haskell "do" syntax. It's more that Clojure defaults to immutability, and has special syntax to define portions that are imperative.