Skip to content

MonadFree instance for Co #46

@paf31

Description

@paf31

There is the following instance:

instance ComonadCofree f w => MonadFree (Co f) (Co w)

Essentially, we could require only ComonadCofree g w for some g for which there is a pairing with f. But since we don't have a type class for that, and since inference would be presumably pretty horrible, I think it makes sense to just choose Co f for g.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions