idempotent-0.1.2: Idempotent monoids

Safe HaskellSafe-Inferred

Data.Monoid.Idempotent

Description

Idempotent monoids.

Synopsis

Documentation

class Monoid m => Idempotent m Source

The class of monoids that are also idempotent.

Instances must satisfy the following law:

  • mappend a a = a