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

Add nullable interop helpers for EitherT & TaskEither #1619

Merged
merged 1 commit into from Apr 21, 2022

Conversation

cwstra
Copy link
Contributor

@cwstra cwstra commented Nov 15, 2021

I noticed that both Either and TaskOption had implementations of chainNullableK, fromNullable, and fromNullableK, but TaskEither did not. This PR adds implementations of those three functions for EitherT and TaskEither.

This was quite rote, so if there's some secret sauce to how many overloads are present in, say, OptionT vs EitherT, I'd appreciate someone pointing it out.

@gcanti gcanti added this to the 2.12 milestone Apr 21, 2022
@gcanti gcanti merged commit 558d8da into gcanti:master Apr 21, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants