Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convenience methods #2

Open
Chriscbr opened this issue Dec 31, 2023 · 1 comment
Open

Add convenience methods #2

Chriscbr opened this issue Dec 31, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@Chriscbr
Copy link
Owner

For set intersection, differences, superset/subsets, converting to vec, etc.

@thass0
Copy link
Collaborator

thass0 commented Feb 27, 2024

The set operations we now have are:

  • Proper and improper subsets
  • Empty and disjoint sets
  • Lazy and strict binary unions, and lazy unions of arbitrary arity
  • FromIterator and IntoIterator (which, by extension, covers "converting to vec")

The operations and convenience methods we are missing include:

  • Intersections (preferably also lazy, strict and n-ary)
  • Straight from(v: [T])
  • Complements (relative and potentially also with respect to the entire universe)
  • Power sets

There is surely more to add to this list in the future!

@thass0 thass0 added the good first issue Good for newcomers label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants