<< Back to previous view

[CLJ-437] Bugs in clojure.set/subset? and superset? for sets with false/nil elements Created: 21/Sep/10  Updated: 12/Oct/10  Resolved: 12/Oct/10

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: Release 1.3

Type: Defect
Reporter: Anonymous Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None

Approval: Ok

 Description   

clojure.set/subset? and /superset? fail on sets with false or nil elements, since they use the input sets directly as a membership predicates:

user> (clojure.set/subset? #{nil} #{nil 2 3})
false

http://groups.google.com/group/clojure-dev/browse_frm/thread/c9c2bebd64803959/e61bbc0d148ecd7b#e61bbc0d148ecd7b



 Comments   
Comment by Assembla Importer [ 12/Oct/10 7:58 PM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/437
Attachments:
fix-subset.diff - https://www.assembla.com/spaces/clojure/documents/arGxjOXBqr3792eJe5cbLA/download/arGxjOXBqr3792eJe5cbLA

Comment by Assembla Importer [ 12/Oct/10 7:58 PM ]

stu said: Updating tickets (#429, #437, #397, #420)

Comment by Assembla Importer [ 12/Oct/10 7:58 PM ]

stu said: Updating tickets (#276, #280, #378, #437, #448)

Generated at Mon Nov 24 06:25:36 CST 2014 using JIRA 4.4#649-r158309.