You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the library only supports set operations like intersection, union, and difference.
Desired Behavior
In set theory, there are four fundamental operations:
intersection
union
difference
symmetric difference
I would like to see support for the symmetric difference operation in this library.
Suggested Solution
Add a symmetricDifference function to the set or array modules, similar to how the difference function is currently implemented.
Who does this impact? Who is this for?
This feature would benefit all users of this library.
Describe alternatives you've considered
N/A
Additional context
I would prefer an implementation optimized for sorted arrays to improve computational complexity.
However, this would require a new Monoid, such as SortedArray or OrderedSet.
This request is related to issue #1843.
Your environment
Software
Version(s)
fp-ts
2.16.0
TypeScript
5.1.3
The text was updated successfully, but these errors were encountered:
🚀 Feature request
Current Behavior
Currently, the library only supports set operations like intersection, union, and difference.
Desired Behavior
In set theory, there are four fundamental operations:
I would like to see support for the symmetric difference operation in this library.
Suggested Solution
Add a
symmetricDifference
function to the set or array modules, similar to how thedifference
function is currently implemented.Who does this impact? Who is this for?
This feature would benefit all users of this library.
Describe alternatives you've considered
N/A
Additional context
I would prefer an implementation optimized for sorted arrays to improve computational complexity.
However, this would require a new Monoid, such as SortedArray or OrderedSet.
This request is related to issue #1843.
Your environment
The text was updated successfully, but these errors were encountered: