On Tue, Mar 8, 2011 at 10:42 AM, Chris Perkins <[email protected]> wrote:
> You'll probably want to add checks for special cases, like an empty or
> one-element sequence, too.

Better yet, clojure.core should amend = so that (=) and (= x) return
true instead of throwing an arity exception. That would make the
behavior consistent with + and * which behave appropriately with one
or zero arguments, and it would handle your special cases in this
instance.

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

Reply via email to