On Nov 30, 2012, at 4:53 PM, Sean Corfield wrote:

> On Fri, Nov 30, 2012 at 7:37 AM, Rich Hickey <richhic...@gmail.com> wrote:
> A) let-> becomes as->
> 
> Fine with that.
>  
> B) test-> becomes cond->
> 
> Fine with that (because I can't think of anything better).
>  
> C) when-> becomes some->
> 
> and in doing so, tests for non-nil rather than truth.
> 
> Given that some-> threads while non-nil but the fn some stops with the first 
> logical true value, this seems counter-intuitive to me. when-> seems better 
> here, or while-> perhaps? What other names were considered?

when and while also use logical truth. We don't have anything where the basis 
is non-nil. Thus my extended description of how some* could come to occupy that 
role.

Avoiding some-> due to the less-often used function means the only other viable 
alternatives are:

a completely new name
thread only logical truth (i.e. can't thread false)

one alternative was: 

is->


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