Skip to content

Sets difference calculation is broken. #67

@mstream

Description

@mstream

It looks like since this commit difference calculation is not working as expected.

Example:

S.difference (S.fromFoldable [1,2,3,4]) (S.fromFoldable [2,3]) == S.empty

Whereas the above expression should equal to S.fromFoldable [1,4]
In fact, I could not find any other inputs that would not yield the empty set for this operation.

Previous versions of that library give expected results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions