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
Shouldn't the return type of match, and by extension the MatchBlock type, be polymorphic?
MatchBlock
type MatchBlock<R, T, F> = { Ok(value: T): R; Fail(failure: F): R; } // ... match(block: MatchBlock<R, T, F>): R;
The text was updated successfully, but these errors were encountered:
cc @bbqsrc
Sorry, something went wrong.
Probably. If you want to send a PR, I'll accept it and push out a new release.
No branches or pull requests
Shouldn't the return type of match, and by extension the
MatchBlock
type, be polymorphic?The text was updated successfully, but these errors were encountered: