universal-0.0.1.0: Universal
Data.Universal
class Functor s t f => Universal (s :: α -> α -> *) (t :: β -> β -> *) (x :: β) (f :: α -> β) where Source #
Laws:
f = Functor (universal f) . getConst morphism
Functor
universal
getConst
morphism
Associated Types
type Element s t x f :: α Source #
Methods
morphism :: Const (t x (f (Element s t x f))) s Source #
universal :: t x (f a) -> s (Element s t x f) a Source #
Defined in Data.Universal
type Element (Const2 ()) (->) () (Const ()) :: α Source #
morphism :: Const (() -> Const () (Element (Const2 ()) (->) () (Const ()))) (Const2 ()) Source #
universal :: (() -> Const () a) -> Const2 () (Element (Const2 ()) (->) () (Const ())) a Source #