On Thu, Sep 16, 2010 at 07:53, Laurent PETIT <laurent.pe...@gmail.com> wrote: > 2010/9/16 Meikel Brandmeyer <m...@kotka.de> >> >> Hi Laurent, >> >> On 16 Sep., 15:54, Laurent PETIT <laurent.pe...@gmail.com> wrote: >> >> > you don't like my one-liner ? :-) >> >> I saw your message only after I sent mine. :) >> >> > (update-in coll [k] (fnil update-in *default-value*) [:meetings] (comp >> > vec >> > concat) data) >> >> Hmm... (comp vec concat) == into? > > Yep. > so this is the killer one : :-) > (update-in coll [k] (fnil update-in *default-value*) [:meetings] into data)
Awesome, thank you for returning concision to my code! I'd certainly missed the update-in, and related, functions. Cheers Laurent! -- 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