Hello everybody,
Out of curiosity I tried the following
user> (let [x {:a 10}
y (update-in x [:a] identity)]
[(identical? x y)
(= x y)])
[true true]
user>
and was very pleasantly surprised with the findings...
I was expecting the result to be [false true] ..
I am just wondering how this was made possible.
Just sharing my findings....
Thanks,
Sunil.
--
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