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

MonadBase instance for FT and MonadBaseControl instances for FreeT and FT #156

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

duog
Copy link

@duog duog commented May 31, 2017

These MonadTransControl/MonadBaseControl instances require the freed functor to have a Traversable
instance. A proof of the MonadTransControl laws is supplied as a comment with the instance
for FreeT.

The additional dependency of monad-control is added, which brings in no more transitive dependencies.

duog and others added 2 commits May 31, 2017 10:28
…T and FT

These MonadBaseControl instances are require the functor to have a traversable
instance.

The additional dependency of monad-control is added.

A proof of the MonadTransControl laws is supplied as a comment with the instance
for FreeT, I can modify or remove this as you see fit.
Some typos in the proof.
@treeowl
Copy link

treeowl commented Sep 24, 2019

Is this possible for CofreeT too? That could be rather useful.

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

Successfully merging this pull request may close these issues.

3 participants