Hi, Am 29.01.2009 um 15:42 schrieb ntu...@googlemail.com:
If its left argument is nil, "intersection" throws a NPE (Clojure rev. 1235):The same is true for clojure.set/difference and everything else that uses clojure.disj with nil for the first parameter.
IMHO, this is not a bug. nil is not a set, in particular not the empty set.
Much in the same sense, that nil is not the empty list. But one could argue, that accepting nil as empty set is a convenience.Or that the bug is, that nil is accepted as second parameter for intersection,
where a set is expected. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature