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

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

Control.Morphism.Zygo

Contents

Description

 

Synopsis

Documentation

zygo :: Functor f => Algebra f b -> GAlgebra f (Zygo b) a -> FixF f -> aSource

g_zygo :: (Functor f, Comonad w) => GAlgebra f w b -> Dist f w -> GAlgebra f (ZygoT w b) a -> FixF f -> aSource

Distributive Law Combinators

distZygo :: Functor f => Algebra f b -> Dist f (Zygo b)Source

distZygoT :: (Functor f, Comonad w) => GAlgebra f w b -> Dist f w -> Dist f (ZygoT w b)Source