-
-
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 an empty for OptionT #935
Comments
👍 sounds good to me. It'd look something like this, right? def empty[F[_]:Applicative, A]: OptionT[F, A] |
I'm wondering if something like |
+1 for |
MaxWorgan
added a commit
to MaxWorgan/cats
that referenced
this issue
Mar 24, 2016
I think this should be closed now because of: #946 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently OptionT has a
pure
method, but it can be useful to have aempty
method on the object. At the moment we're simply using the apply to work around it;However
empty
would look cleaner and be easier to understandThe text was updated successfully, but these errors were encountered: