Why this behavior?

user=> (#{5 nil} 5)
5
user=> (#{5 nil} 4)
nil
user=> (#{5 nil} nil)
nil

rather than the seemingly more informative:
user=> (#{5 nil} 5)
true
user=> (#{5 nil} 4)
false
user=> (#{5 nil} nil)
true
user=> (#{5 false} true)
false
user=> (#{5 false} false)
true

i.e. set as characteristic function:
   element -> bool

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to