-
-
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
Cofree comonad #1422
Comments
Well, I think if you’re going to have Free, you should have Cofree! I’m still mostly a Cats spectator at this point, though. |
I think it makes sense to have corresponding |
I'm on it. My current plan is to trampoline the tail with |
Awesome, thanks! |
Yep we definitely need this. Scalaz only has the lazy one and nobody ever complained as far as I know so that's probably sufficient. |
Do you think it would also make sense to add |
@adelbertc I vote the latter – I really want to make Matryoshka FP-lib-agnostic, but don’t really have the bandwidth for it at the moment. Also, because I think there’s another lib of higher-order stuff (which I am tentatively calling Griffins) that Matryoshka will want, that we probably(?) don’t want to lump into Cats. |
Yeah I think |
Yes please, Cofree is useful and I'd feel much better using standardised cats one than reinventing it :) |
closed by #1446 |
Should I add it? Would anyone be interested in both lazy and strict versions of Cofree? I find the strict version very useful in creating trees.
The text was updated successfully, but these errors were encountered: