http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/some
--
Science answers questions; philosophy questions answers.
On Jul 21, 2010, at 4:45 PM, Travis Hoffman wrote:
> (defn any?
> "Returns true if (pred x) is logically true for one x in coll, else
> false."
> {:added "1.3" :tag Boolean}
> [pred coll]
> (when (seq coll)
> (or (pred (first coll)) (recur pred (next coll)))))
--
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