athanclark / sets

Sets in Haskell.
MIT License
0 stars 0 forks source link

delete is wrong #3

Closed ninegua closed 5 years ago

ninegua commented 7 years ago

This line: https://github.com/athanclark/sets/blob/master/src/Data/Set/Unordered/Many.hs#L109

Shouldn't it be /= instead of ==?

If you search the repository using keyword List.filter, there are other places too. Please help to fix them. Thanks!

athanclark commented 7 years ago

Will do! Thank you for spotting this, I'm surprised I didn't write a test for it :x