category-extras-0.51.3: Various modules and constructs inspired by category theorySource codeContentsIndex
Control.Comonad.Cofree
Portabilityrank-2 types
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Description
Documentation
type Cofree f = Fix (PCofree f)Source
runCofree :: Cofree f a -> (a, f (Cofree f a))Source
anaCofree :: Functor f => (a -> c) -> (a -> f a) -> a -> Cofree f cSource
cofree :: a -> f (Cofree f a) -> Cofree f aSource
class (Functor f, Comonad w) => ComonadCofree f w | w -> f whereSource
Methods
outCofree :: w a -> f (w a)Source
show/hide Instances
Produced by Haddock version 2.3.0