-> and --> are macros in clojure.core, both (-> one #(two % "a") three) (->> one #(two "a" %) three)
expands to (three #(two one "a")) and (->> one #(two %1 %2) three) expands to (three #(two "a" one)) On Wed, Jan 12, 2011 at 10:40 PM, Sean Allen <s...@monkeysnatchbanana.com>wrote: > So i've used this because I picked it up from numerous tutorials but I've > never really understood it, > can I get a some decent background information on ->> and ->? > > I picked them up from compojure tutorials and don't feel anywhere near > comfortable enough w/ > what is actually going on. > > Thanks. > > -Sean- > > > -- > 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<clojure%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- 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