That's what <- is for :)

https://github.com/Prismatic/plumbing/blob/master/src/plumbing/core.clj#L234



On Tuesday, March 12, 2013 4:37:58 AM UTC-7, Marko Topolnik wrote:
>
> On Tuesday, March 12, 2013 10:54:35 AM UTC+1, Laurent PETIT wrote:
>
>>
>> or perhaps
>>
>> (-> response :body :postalCodes (->> (map to-location) (sort-by :city))) 
>>
>> :-)
>>
>
> Yes, jumping to ->> in the middle of -> works; it fails the other way 
> around. I was always frustrated by that asymmetry, hence my love for as-> :)
>
> -Marko
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to