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

impl PartialOrd via is_{sub,super}set #49

Open
ronnodas opened this issue Dec 3, 2023 · 1 comment
Open

impl PartialOrd via is_{sub,super}set #49

ronnodas opened this issue Dec 3, 2023 · 1 comment

Comments

@ronnodas
Copy link

ronnodas commented Dec 3, 2023

Instead of a.is_subset(b), we should be able to write a <= b.

@coriolinus
Copy link
Owner

An interesting proposal! My first reaction is positive, though I haven't yet devoted any real thought to whether this would cause any problems.

Please go ahead and write an implementation PR; while I kind of like this idea, it's very low on my personal priority list.

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