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
The Either<TLeft, TRight> type doesn't currently support pattern matching.
Either<TLeft, TRight>
Add pattern matching support, along the lines of what's available for Union<T1, T2>, except that:
Union<T1, T2>
Case1
Left
Case2
Right
CaseOf<T>
The text was updated successfully, but these errors were encountered:
#62 - Added pattern matching to Either type.
b1e7db0
1308836
Done.
Sorry, something went wrong.
DavidArno
No branches or pull requests
The
Either<TLeft, TRight>
type doesn't currently support pattern matching.Add pattern matching support, along the lines of what's available for
Union<T1, T2>
, except that:Case1
should beLeft
,Case2
should beRight
,CaseOf<T>
is not needed.The text was updated successfully, but these errors were encountered: