id -package:universum -package:med-module package:mixed-types-num

Identity function.
id x = x
HSpec property checking the validity of unary operations' results.
HSpec properties that check validity of operations' results.
Prelude without operations that clash with MixedTypes
The class of monoids (types with an associative binary operation that has an identity). Instances should satisfy the following: The method names refer to the monoid of lists under concatenation, but there are many other instances. Some types can be viewed as a monoid in more than one way, e.g. both addition and multiplication on numbers. In such cases we often define newtypes and make those instances of Monoid, e.g. Sum and Product. NOTE: Semigroup is a superclass of Monoid since base-4.11.0.0.