> What do you think should be the boolean result of (> nil 1)? > > Since the inequality functions only work with Numbers, and nil is not > a Number. The only way to make that work would be to impute some > default numerical value to nil, which would probably introduce more > problems than it solved.
I agree. It only looks inconsistent when you assume nil is treated uniformly by these comparison function, which does not make sense. Sorry, this question was probably a tad stupid :) -- Florian Ebeling florian.ebel...@gmail.com
-- 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