-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 Either#toEitherNel extension and friends #2475
Conversation
I imagine it's going to get tedious if we have all these helpers for |
To add to the permutations: should we be making these for |
Maybe we could generalize with something like `.leftPure[NonEmptyChain]`
for now
…On Fri, Sep 7, 2018, 17:26 Cody Allen ***@***.***> wrote:
To add to the permutations: should we be making these for NonEmptyChain
now? That seems to be the direction that we are encouraging people to go
with #2472 <#2472>. I'm guessing
that supporting both would be most helpful (but starts to feel like
potential bloat).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2475 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA2npB_nAbdNAJTSyXCQi47R8T76ujyOks5uYpAqgaJpZM4WdbfE>
.
|
Agree with @ceedubs - the whole codebase should be reviewed and each |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a reasonable addition. I agree it would be good to add the equivalent Nec methods, not sure it needs to block this one though.
Created #2539 to track NEC equivalents. I suggest we proceed with this one as it is :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
Can we merge? It'll unblock #2543 which will conflict with this |
Thanks! |
Also brings
Ior#toIorNel
.I'm also pondering submitting an
EitherTNel
type alias in thecats.data
package object, together with conversions fromEitherT
, but then we'd need to do the same forIorT
I guess.