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
I have this mixed-in thru a package object:
implicit class Id[A](val a: A) { def pureEff[E]: Eff[E, A] = EffMonad[E].pure(a) }
I find it regularly useful, allows type A to be inferred. I chose pureEff rather than pure because of name collision.
A
pureEff
pure
The text was updated successfully, but these errors were encountered:
This is almost available with standard cats
1.pure[Eff[R, ?]]
I agree that 1.pureEff[R] would be syntactically more pleasing, I will add this.
1.pureEff[R]
Sorry, something went wrong.
5a97475
No branches or pull requests
I have this mixed-in thru a package object:
I find it regularly useful, allows type
A
to be inferred. I chosepureEff
rather thanpure
because of name collision.The text was updated successfully, but these errors were encountered: