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

Option predicate #157

Open
t-moe opened this issue Nov 16, 2023 · 1 comment
Open

Option predicate #157

t-moe opened this issue Nov 16, 2023 · 1 comment
Labels
enhancement Improve the expected

Comments

@t-moe
Copy link

t-moe commented Nov 16, 2023

I was wondering whether we could add an Option predicate.

e.g. that i can type something like predicate::some(predicate::gt(3)) to match an Option<u32> with the variant Some(13).

@epage
Copy link
Contributor

epage commented Nov 16, 2023

Seems reasonable.

@epage epage added the enhancement Improve the expected label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve the expected
Projects
None yet
Development

No branches or pull requests

2 participants