On Tue, Jul 6, 2010 at 3:24 PM, Greg <g...@kinostudios.com> wrote: > > This would be most likely java interop, ie. ->. > > There the main arguments are 99% of the times the first or the last ones. > So -> or ->> will work > > OK, so what happens when one of the functions takes it in the front, and > the other in the back? > > Or what happens when you're using a piece of code that doesn't follow > either convention? Are you saying such code doesn't exist? > > In both those cases, -> and ->> become useless. > > You can use -> and ->> together to handle changing argument orders.
(-> "foo" (str "1") (->> (conj #{}))) Scott (I would like --> or let-> in contrib though) -- 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