| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Algebra.Monad.Free
Documentation
Instances
t'Pure :: Traversal' (Free f a) a Source #
traverseF :: (Functor f, Traversable f', Monad g) => (forall a. f a -> g (f' a)) -> Free f b -> g (Free f' b) Source #
coerceStep :: forall m f g a. (Monad m, MonadFree m f) => (f a -> g a) -> g a -> m (g a) Source #
coercePerform :: forall m f g a. (Monad m, MonadFree m f) => (f a -> g a) -> g a -> m a Source #
coerceLiftF :: forall m f g a. (Functor m, MonadFree m f) => (f a -> g a) -> m a -> g a Source #
Instances
| Lens1 a a (Cofree f a) (Cofree f a) Source # | |
| Unit m => Unit (Cofree m) Source # | |
| Traversable w => Traversable (Cofree w) Source # | |
| Foldable w => Foldable (Cofree w) Source # | |
| Functor w => Comonad (Cofree w) Source # | |
| Counit (Cofree w) Source # | |
| Applicative m => Monad (Cofree m) Source # | |
| Applicative m => Applicative (Cofree m) Source # | |
| Applicative m => SemiApplicative (Cofree m) Source # | |
| Functor w => Functor (Cofree w) Source # | |
| Lens2 (f (Cofree f a)) (f (Cofree f a)) (Cofree f a) (Cofree f a) Source # | |
| (Eq a, Eq (Coforest f a)) => Eq (Cofree f a) Source # | |
| (Ord a, Ord (Coforest f a)) => Ord (Cofree f a) Source # | |
| (Show a, Show (Coforest f a)) => Show (Cofree f a) Source # | |