We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 the means to do something like:
var result = option switch { (Some, x) => x, (None, _) => 0 };
to the Option type via a deconstructor.
Note this will be a breaking change as the current (hasValue, value) deconstructor will have to be removed.
(hasValue, value)
The text was updated successfully, but these errors were encountered:
#65 - Added positional pattern matching support to Option<T>. Switche…
b5822a4
…d the projects to be standard 2.0 and in turn fixed issues with depricated URL tags for nuget
Done.
Sorry, something went wrong.
DavidArno
No branches or pull requests
Add the means to do something like:
to the Option type via a deconstructor.
Note this will be a breaking change as the current
(hasValue, value)
deconstructor will have to be removed.The text was updated successfully, but these errors were encountered: