Joost wrote:
> you're supposed to use assoc! and
> friends as if they're pure functions.

Just correcting myself for clarity:

assoc! etc MAY modify their transient arguments, but not always, and
not always in the way you might think. The correct result of these
operations is their return value, but they are not pure functions
since you also - obviously - cannot rely on the transient arguments to
remain unchanged.

-- 
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