-
-
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
Missing instances for Cofree #2300
Comments
I'm working on this (slowly), so far got the |
Blocked by #2308 |
I suggest waiting until 2.13 is released until we go forward with this - lazy implicits make it possible to implement the recursive instances ( If anyone stumbles upon this issue and needs an instance before that, I suggest copying code from https://github.com/typelevel/shapeless-contrib/pull/9/files and porting it to Cats. |
@kailuowang mind adding an "on hold" label? |
added. thanks @kubukoz |
Thanks :) |
https://hackage.haskell.org/package/free-4.1/docs/Control-Comonad-Cofree.html
There are some instances/derivations in the Haskell version of Cofree that might be useful for some people (I for one would welcome Eq):
(needs tailRecM)Alternative f => Monad (Cofree f)
Possibly more, but these are the ones I noticed missing now.
I'd love to take a shot at implementing them, if it sounds like a good idea :)
The text was updated successfully, but these errors were encountered: