category-extras-0.44.1: Various modules and constructs inspired by category theory.
Source code
Contents
Index
Control.Comonad.Cofree
Portability
rank-2 types
Stability
experimental
Maintainer
Edward Kmett <ekmett@gmail.com>
Description
Documentation
type
CofreeB
f a b =
BiffB
(,)
Identity
f a b
Source
type
Cofree
f a =
FixB
(
BiffB
(,)
Identity
f) a
Source
outCofree
::
Cofree
f a -> f (
Cofree
f a)
Source
runCofree
::
Cofree
f a -> (a, f (
Cofree
f a))
Source
anaCofree
::
Functor
f => (a -> c) -> (a -> f a) -> a ->
Cofree
f c
Source
cofree
:: a -> f (
Cofree
f a) ->
Cofree
f a
Source
Produced by
Haddock
version 2.1.0