user=> (defn f[x y] (+ x y)) #'user/f user=> (-> 3 ((partial f 2))) 5
It must works :). Please notice the extra parentheses. 2012/4/17 larry <larrye2...@gmail.com> > > > On Monday, April 16, 2012 10:02:48 AM UTC-7, Cedric Greevey wrote: >> >> (-> 3 ((partial f 2))) should also work. >> > > > I just wrote that it DOESN'T WORK. That's the point of the question.I > should get 5 instead I get > t#<core$partial$fn__3796 clojure.core$partial$fn__3796@4c629f43> > > > -- > 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 > -- 庄晓丹 Email: killme2...@gmail.com xzhu...@avos.com Site: http://fnil.net Twitter: @killme2008 -- 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