No. You can do #(+ %1 %2 %3 %4)
I don't know the max, but if you fear you'll hit it use fn. You, however, cannot nest #() forms. On Tue, Feb 10, 2009 at 11:09 PM, Mark Volkmann <r.mark.volkm...@gmail.com>wrote: > > Just checking my understanding of the rules for writing anonymous functions > ... > (fn [args] ...) allows any number of expressions in its body. > #(...) only allows a single expression in its body, correct? > Why the difference? > > -- > R. Mark Volkmann > Object Computing, Inc. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---