free icon indicating copy to clipboard operation
free copied to clipboard

MonadBase instance for FT and MonadBaseControl instances for FreeT and FT

Open duog opened this issue 7 years ago • 1 comments

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 avatar May 31 '17 19:05 duog

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

treeowl avatar Sep 24 '19 04:09 treeowl