user=> (use 'clojure.set) nil user=> (set (list [:a 1] [:b 2])) #{[:b 2] [:a 1]} user=> (set (list [:a 1] [:b 2] [:c 3])) #{[:b 2] [:c 3] [:a 1]} user=> (difference *1 *2) #{[:c 3]} user=> (difference (set (list [:a 1] [:b 2])) (set (list [:a 1] [:b 2] [:c 3]))) #{}
Is this a bug or am I just not understanding how difference is supposed to work? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---