Well, #(<= lo % hi) is to my mind much more readable than (fn [x] (<= lo x hi)), especially embedded in another form or two (as it would be).
On Aug 23, 11:48 am, gary ng <[email protected]> wrote: > On Mon, Aug 23, 2010 at 8:31 AM, Luka Stojanovic <[email protected]> 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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
