Hi Meikel, you don't like my one-liner ? :-)
(update-in coll [k] (fnil update-in *default-value*) [:meetings] (comp vec concat) data) 2010/9/16 Meikel Brandmeyer <m...@kotka.de> > Hi, > > On 16 Sep., 15:36, Meikel Brandmeyer <m...@kotka.de> wrote: > > > > (if (not (nil? (next collection) > > > > You can save the nil?. (if (not (next collection))) will also work. > > nil is logically false. > > And of course this should be (if (next collection)). The not belongs > to the "You can save" part. > > Sincerely > Meikel > > -- > 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<clojure%2bunsubscr...@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 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