Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype FreeT f (m :: * -> *) a Source #
Instances
newtype LayeredFreeT f m a Source #
LayeredFreeT | |
|
toLayeredFreeT :: Monad m => FreeT f m a -> LayeredFreeT f m a Source #
fromLayeredFreeT :: Monad m => LayeredFreeT f m a -> FreeT f m a Source #
class (forall f. Threads (FreeT f) p) => FreeThreads p Source #
Instances
(forall (f :: Type -> Type). Threads (FreeT f) p) => FreeThreads p Source # | |
Defined in Control.Monad.Trans.Free.Church.Alternate |
foldFreeT :: Monad m => (a -> b) -> (forall x. (x -> m b) -> f x -> m b) -> FreeT f m a -> m b Source #
foldFreeT' :: Monad m => (m r -> r) -> (a -> r) -> (forall x. (x -> r) -> f x -> r) -> FreeT f m a -> r Source #