uses like #(first %) keeps the code cleaner on the other hand, for more complicated things I would really not recommend the short form
2010/8/23 gary ng <garyng2...@gmail.com>: > On Mon, Aug 23, 2010 at 8:31 AM, Luka Stojanovic <li...@magrathea.rs> wrote: >> It's not about nested maps, but about nested anonymous functions: if you >> nest anonimous functions you must use (fn [] ...) like: >> >> (map (fn [t s] (map #(map * %1 %2) t s)) target signal) >> > > This has me question, how useful the #(...) form is as clojure's > lambda form i.e. (fn [t s] ...) is already very clean and it conveys > more information of what it is than the relatively cryptic %1 %2 ... > > -- > 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 -- Linux-user #496644 (http://counter.li.org) - first touch of linux in 2004 Demandoj en aĆ pri Esperanto? Questions about Esperanto? Vragen over Esperanto? Perguntas sobre o Esperanto? - http://demandoj.tk -- 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