Hi, Am 24.06.2010 um 21:12 schrieb Tim Robinson:
> I would like some chaining to less the brackets. > i.e. > >> (def stuff {:key1 {:item1 {:sub1 val1}}) >> (((stuff :key1) :item1) sub1) <------- YUCK > val1 > > Instead do this: >> stuff:key1:item1:sub1 > val1 (-> stuff :key1 :item1 sub1) > Also, some of the function names don't make sense: > (def stuff (list 1 2 3 4 5)) >> (rest stuff) > (2 3 4 5) >> (next stuff) > (2 3 4 5) <---- this can be done with rest. next and rest are not the same. See http://clojure.org/lazy. 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 For more options, visit this group at http://groups.google.com/group/clojure?hl=en