Skip to content
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 instances are very wrong #17

Closed
ekmett opened this issue Mar 26, 2015 · 3 comments
Closed

Cofree instances are very wrong #17

ekmett opened this issue Mar 26, 2015 · 3 comments

Comments

@ekmett
Copy link
Owner

ekmett commented Mar 26, 2015

The ComonadApply and Apply don't agree with the Applicative for Cofree.

There are two structures here. One tries to zip together the 'f's stream-style. The other works with an indexed-monoid style to smash the 'f's together. These need to split into separate (co)monads.

@fumieval
Copy link
Contributor

Is the (<@>) = (<*>) requirement really necessary? They don't seem to conflict if we just remove this restriction (but the mathematical symmetry will be gone, though).

@ekmett
Copy link
Owner Author

ekmett commented Mar 30, 2015

(<@>) = (<*>) could be relaxed, if I could swallow my gorge, but (<.>) = (<*>) is a hard requirement.

@glguy
Copy link
Collaborator

glguy commented Oct 21, 2015

This issue is currently tracked in its own repository ekmett/free#36

@glguy glguy closed this as completed Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants