On Sun, Oct 5, 2008 at 2:55 PM, Vincent Foley <[EMAIL PROTECTED]> wrote:
>
> I was surprised to see that Clojure doesn't have an any? function.  I
> saw every?, not-every? and not-any? but no any?.  Is there a reason
> for this?

user=> (doc some)
-------------------------
clojure/some
([pred coll])
  Returns the first logical true value of (pred x) for any x in coll,
  else nil.

It's not identical to yours, as it returns whatever pred returned,
instead of always returning true.

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