Nice.

On Tuesday, April 22, 2014 11:36:06 AM UTC+1, Jim foo.bar wrote:
>
> there is really no reason to use `get-in` with keywords/symbols as they 
> know how to look themselves up...in other words, you don't need to pay 
> for any polymorphic calls : 
>
> (get-in [:a :b :c :d] someMap) = (-> someMap :a :b :c :d) 
>
> Jim 
>
> On 22/04/14 10:49, Daniel Kersten wrote: 
> > For navigating nested maps, get-in, update-in and assoc-in with 
> > keywords seem natural and practical to me. 
>
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to