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 LittleSet? #81

Open
CameronBieganek opened this issue Jun 18, 2021 · 3 comments
Open

Add LittleSet? #81

CameronBieganek opened this issue Jun 18, 2021 · 3 comments

Comments

@CameronBieganek
Copy link

No description provided.

@oxinabox
Copy link
Member

It's really close to Vector/Tuple, but not quite

@CameronBieganek
Copy link
Author

CameronBieganek commented Jun 18, 2021

Yeah, I'd like something like Tuple but with (1, 2) == (2, 1) (for any length "tuple"/LittleSet).

Tokazama added a commit that referenced this issue Nov 15, 2022
@oxinabox
Copy link
Member

oxinabox commented Aug 2, 2024

I am coming around to being convinced this is useful.
Getting hash to work should be fine we just do a symmetric operation like xoring the hash of each element.
I can't think of a way to impement == that is good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants