Mark Rathwell <mark.rathw...@gmail.com> writes:

> Clojure data structures are immutable by default
> (seeĀ http://clojure.org/functional_programming).
>
> For mutability, see the following:
>
> [...]
>
> http://clojure.org/transients

It's a common misconception that transients are meant to be used for
mutable data, but this is not true and will leave you mightily confused.

A more thorough explanation: http://technomancy.us/132

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to