category-extras-0.52.1: Various modules and constructs inspired by category theory

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

Control.Functor.KanExtension.Interpreter

Description

Ghani and Johann's Interp/InterpT types from ''Initial Algebra Semantics is Enough!'' http://crab.rutgers.edu/~pjohann/tlca07-rev.pdf and its dual.

Documentation

type Interpreter y g h = y :~> Ran g hSource

type InterpreterT f g h = forall y. Functor y => Interpreter y g h -> Interpreter (f y) g hSource

type Cointerpreter y g h = Lan g h :~> ySource

type CointerpreterT f g h = forall y. Functor y => Cointerpreter y g h -> Cointerpreter (f y) g hSource