On Jul 6, 2010, at 8:23 AM, Meikel Brandmeyer wrote:

> Hi,
> 
> this comes up once in a while. See eg. here for an in-depth
> discussion: 
> http://groups.google.com/group/clojure/browse_thread/thread/66ff0b89229be894/c3d4a6dae45d4852

So why hasn't it been incorporated yet into the standard library?

The --> macro (or the let-> mentioned there) is more powerful than -> and ->>, 
and it also makes code more readable too. It seems strange therefore not to 
have one.

- Greg



> Note, that you can ease your pain a little with #(): (-> 3 (#(+ 1 %
> 4)) (#(prn "answer:" %))). This is rather ugly, though.
> 
> Sincerely
> Meikel
> 
> -- 
> 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 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

Reply via email to