-
-
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
Do redirect to look into cats-mtl for MonadCombine #2035
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2035 +/- ##
=======================================
Coverage 95.25% 95.25%
=======================================
Files 305 305
Lines 5179 5179
Branches 127 126 -1
=======================================
Hits 4933 4933
Misses 246 246 Continue to review full report at Codecov.
|
CHANGES.md
Outdated
@@ -205,7 +205,8 @@ as many breaking changes as possible in this release before we lock down the API | |||
* All `Unapply` enabled methods, e.g. `sequenceU`, `traverseU`, etc. are removed. `Unapply` | |||
enabled syntax ops are also removed. Please use the partial unification SI-2712 fix | |||
instead. The easiest way might be this [sbt-plugin](https://github.com/fiadliel/sbt-partial-unification). | |||
* `FunctorFilter`, `MonadCombine`, `MonadFilter`, `MonadReader`, `MonadState`, `MonadTrans`, `MonadWriter` and `TraverseFilter` are no longer in `cats`, the functionalities they provided are inherited by the new [cats-mtl](https://github.com/typelevel/cats-mtl) project. Please check [here](https://github.com/typelevel/cats-mtl#migration-guide) for migration guide. | |||
* `FunctorFilter`, `MonadFilter`, `MonadReader`, `MonadState`, `MonadTrans`, `MonadWriter` and `TraverseFilter` are no longer in `cats`, the functionalities they provided are inherited by the new [cats-mtl](https://github.com/typelevel/cats-mtl) project. Please check [here](https://github.com/typelevel/cats-mtl#migration-guide) for migration guide. | |||
* `MonadCombine` is no longer in cats. Use `Alternative` or `Monad` + `K` instead. |
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.
This shouls say MonoidK
:)
Done :-). |
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, thanks!
...Because it's not there. @LukaJCB++ on gitter pointed out that the use cases for MonadCombine are handled using
Alternative
orMonad
+MonoidK
now.Note: it appears there's a MonadCombineSuite, which provides a test for a single method of
Alternative
. If I can get some time I'll rename it & add the missing tests.