On 20 April 2012 07:08, Matthew Phillips <[email protected]> wrote:

> I've always liked the way assoc and dissoc return the original map
> instance when there's no change to be made. But this is not apparently
> true of records. e.g.:


Out of curiosity, why is this useful to you?

I would imagine that the fact that it works like that for maps at the
moment is an implementation detail that you shouldn't rely upon.

dissoc[iate]. Returns a new map of the same (hashed/sorted) type,
that does not contain a mapping for key(s).

-- 
David Jagoe

[email protected]
+447535268218

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

Reply via email to