pandora-0.2.8: A box of patterns and paradigms

Safe HaskellSafe
LanguageHaskell2010

Pandora.Paradigm.Primary.Functor.Endo

Documentation

newtype Endo a Source #

Constructors

Endo 

Fields

Instances
Invariant Endo Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Functor.Endo

Methods

invmap :: (a -> b) -> (b -> a) -> Endo a -> Endo b Source #

Semigroup (Endo a) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Functor.Endo

Methods

(+) :: Endo a -> Endo a -> Endo a Source #

Monoid (Endo a) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Functor.Endo

Methods

zero :: Endo a Source #