category-0.2.0.1: Categorical types and classes

Safe HaskellNone
LanguageHaskell2010

Data.Morphism.Endo

Documentation

newtype Endo s a Source #

Constructors

Endo 

Fields

Instances

Category k s => Semigroup (Endo k s a) Source # 

Methods

(<>) :: Endo k s a -> Endo k s a -> Endo k s a #

sconcat :: NonEmpty (Endo k s a) -> Endo k s a #

stimes :: Integral b => b -> Endo k s a -> Endo k s a #

Category k s => Monoid (Endo k s a) Source # 

Methods

mempty :: Endo k s a #

mappend :: Endo k s a -> Endo k s a -> Endo k s a #

mconcat :: [Endo k s a] -> Endo k s a #

Groupoid k s => Group (Endo k s a) Source # 

Methods

invert :: Endo k s a -> Endo k s a #