monoid-extras-0.3.2.0: Various extra monoid-related definitions and utilities

Maintainerdiagrams-discuss@googlegroups.com
Safe HaskellSafe-Inferred

Data.Monoid.Endomorphism

Description

The monoid of endomorphisms over any Category.

Synopsis

Documentation

newtype Endomorphism k a Source

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

Endomorphism 

Fields

getEndomorphism :: k a a