HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulemonoid-extras-0.7.0.2Haskell2010

Data.Monoid.Endomorphism

The monoid of endomorphisms over any Category.

  • 1 type
newtypenewtype Endomorphism (k :: Type -> Type -> Type) a
#

An Endomorphism in a given Category is a morphism from some object to itself. The set of endomorphisms for a particular object form a monoid, with composition as the combining operation and the identity morphism as the identity element.

Constructors

Instances4Show, Semigroup, Monoid, Group