On Feb 4, 3:31 am, wlr <[email protected]> wrote:
> (-> #{{:a 1, :b 1, :c 1}
>            {:a 2, :b 2, :c 2}
>            {:a 3, :b 3, :c 3}}
>        (->> (select #(= (:a %) 1)))
>        (project [:b :c]))
>
> => #{{:c 1, :b 1}}

Ahhh.. what a tricky language. ;) This saves me from writing reverse-
args or select*, so this succinct workaround may be my default.


Thanks,
Tayssir

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to