Additionally, I initially found (some #{:y} [:x :y :z]) to be
confusing. The documentation of "some" (and or, in turn) uses the
phrase "logical true" - I initially assumed this to mean actually
true, but I suppose what it means is "not false or nil".

In that case, it makes me think of the degenerate example (I realize
this is slightly stupid):

(some #{false} (list false))

On Jan 29, 2:48 pm, Chouser <[email protected]> wrote:
> What is the drawback of the (some #{:y} [:x :y :z]) idiom?  Is it too
> verbose?  Too slow?  Too flexible?  Too good a re-use of existing
> functionality?  Too helpful in opening ones eyes to the possibilities
> of sets and higher order functions?
> --Chouser
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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