On Sun, Oct 19, 2008 at 3:02 PM, Achim Passen <[EMAIL PROTECTED]> wrote: > > user> (= #{1 4} #{2 3}) > true > > it's not, is it?
I hope not! Patch attached. --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
diff --git a/src/jvm/clojure/lang/APersistentSet.java b/src/jvm/clojure/lang/APersistentSet.java index d8345f3..241d091 100644 --- a/src/jvm/clojure/lang/APersistentSet.java +++ b/src/jvm/clojure/lang/APersistentSet.java @@ -59,7 +59,7 @@ public boolean equals(Object obj){ for(Object aM : m) { - if(!m.contains(aM)) + if(!contains(aM)) return false; } // for(ISeq s = seq(); s != null; s = s.rest())