category-extras-0.44.1: Various modules and constructs inspired by category theory.

Portabilitynon-portable (rank-2 polymorphism)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Functor.HigherOrder

Description

Neil Ghani and Particia Johann''s higher order functors from http://crab.rutgers.edu/~pjohann/tlca07-rev.pdf

Documentation

type AlgH f g = Natural (f g) gSource

type CoAlgH f g = Natural g (f g)Source

class HFunctor f whereSource

Methods

ffmap :: Functor g => (a -> b) -> f g a -> f g bSource

hfmap :: Natural g h -> Natural (f g) (f h)Source

newtype FixH f a Source

Constructors

InH 

Fields

outH :: f (FixH f) a