On Wed, Mar 13, 2013 at 1:11 AM, Meikel Brandmeyer (kotarak)
<m...@kotka.de> wrote:
> In my experience having problems with switching between -> and ->> is
> closely related to unknowingly  cross borders between collections land and
> sequence land. If you run into this quite often you might want to review
> your pipeline and check whether sequences are really what you want.

... which made me realize my original code could (should!) be:

        (->> response :body :postalCodes
             (map to-location) (sort-by :city))

Thank you!
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
-- 
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