On Jan 29, 7:10 pm, Jason Wolfe <jawo...@berkeley.edu> wrote: > I think this is not a bug in disj. disj takes a *set* and an element > as input. nil is the empty seq, which is different from the empty set > #{}.
Well, then forget my remark about disj and let's concentrate on the set functions. Those operate on sets *but* it is highly inconsistent to allow nil as a second argument but not as a first if both parameters should accept the same type. > The fact that clojure.set functions work at all on things other > than bona fide sets is, in Rich's words, "an implementation artifact > and not a promise of the interface". Hm. Maybe these weakly typed languages are not made for me. - nt --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---