You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could there be a function in the companion object fromEither[A](e: Either[Throwable, A]: IO[A] = e.fold(IO.raiseError, IO.pure)
I've been asked if this was a philosophical reason for the lack, so I figured I would pass it along and if you are interested I'd happily draft a PR. I also see how minimal this is that I could understand your lack of desire for it.
The text was updated successfully, but these errors were encountered:
I don't think there's really a philosophical reason why we don't have it. Just a general desire for smaller API surface area. I don't have a strong objection to adding it, if there's enough interest.
On Sat, 28 Oct 2017 at 19:54, Daniel Spiewak ***@***.***> wrote:
I don't think there's really a philosophical reason why we don't have it.
Just a general desire for smaller API surface area. I don't have a strong
objection to adding it, if there's enough interest.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAt6VXo6bnW9mMrgHuzdFdsOc-on18-ks5sw1xUgaJpZM4QC5xX>
.
Could there be a function in the companion object
fromEither[A](e: Either[Throwable, A]: IO[A] = e.fold(IO.raiseError, IO.pure)
I've been asked if this was a philosophical reason for the lack, so I figured I would pass it along and if you are interested I'd happily draft a PR. I also see how minimal this is that I could understand your lack of desire for it.
The text was updated successfully, but these errors were encountered: