pandora-0.5.3: A box of patterns and paradigms
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pandora.Pattern.Kernel

Synopsis

Documentation

class Category m => Kernel m where Source #

When providing a new instance, you should ensure it satisfies:
* Left zero morphism: constant . f ≡ constant . g
* Most general morphism: f . k = constant

Methods

constant :: m a (m i a) Source #

Instances

Instances details
Kernel ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Algebraic.Exponential

Methods

constant :: a -> (i -> a) Source #