-
-
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
Remove unused Cokleisli.cokleisli method #752
Conversation
This method currently isn't used. Since `Cokleisli` is already a case class with an equivalent auto-generated `apply` method, I don't think I see the usefulness of it. Feel free to let me know if you would prefer to keep this around.
Current coverage is
|
👍 |
@ceedubs There is a similar function for |
👍 @fthomas I believe the existence of Does appear to: scala> import cats.data._
import cats.data._
scala> Kleisli((x: Int) => Option(x))
res0: cats.data.Kleisli[Option,Int,Int] = Kleisli(<function1>)
scala> ReaderT((x: Int) => Option(x))
res1: cats.data.Kleisli[Option,Int,Int] = Kleisli(<function1>) So yeah we can remove |
I would be surprised if |
@adelbertc @fthomas I removed |
👍 |
Remove unused Cokleisli.cokleisli method
This method currently isn't used. Since
Cokleisli
is already a caseclass with an equivalent auto-generated
apply
method, I don't think Isee the usefulness of it. Feel free to let me know if you would prefer
to keep this around.