Skip to content

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

Open
duog wants to merge 3 commits into
ekmett:masterfrom
duog:pr-monad-base-control-instances
Open

MonadBase instance for FT and MonadBaseControl instances for FreeT and FT#156
duog wants to merge 3 commits into
ekmett:masterfrom
duog:pr-monad-base-control-instances

Conversation

@duog

@duog duog commented May 31, 2017

Copy link
Copy Markdown

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

treeowl commented Sep 24, 2019

Copy link
Copy Markdown

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