> > If you want to have something looking like (+ 2) with multiple args > > possible, I would advocate the best way might be to > > add a reader macro to clojure expanding to partial. #p(+ 2) for example. > > It is a better idea than using having evaluation depending of the context, > > IMHO. > > I guess that this has just led me into learning yet another bit which > I wasn't even aware of! Thanks!
Note that you can't make readermacros yet. It's a supported in CL not in Clojure but maybe in future versions how knows. I think the have random nummer of args vs currying its a good traidoff. -- 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