On Thu, Jul 5, 2012 at 1:44 PM, Jeremy Heiler <jeremyhei...@gmail.com> wrote: > On Thu, Jul 5, 2012 at 1:40 PM, Jeremy Heiler <jeremyhei...@gmail.com> wrote: >> (= x (#(%) x)) ;=> true > > I lied when I said that :-) > > But invoking #(%) will return the value passed in as the first argument.
Maybe I should check things before I say them. (+ (#(inc %) 4) 2) is the same as... (+ ((fn [x] (inc x)) 4) 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