Semigroup -package:base
hedgehog Hedgehog.Internal.Prelude Hedgehog.Internal.Prelude,
base-compat Data.Semigroup.Compat Prelude.Compat,
validity Data.Validity,
Cabal-syntax Distribution.Compat.Prelude Distribution.Compat.Semigroup,
ihaskell IHaskellPrelude,
base-compat-batteries Data.Semigroup.Compat,
dimensional Numeric.Units.Dimensional.Prelude,
rebase Rebase.Prelude,
mixed-types-num Numeric.MixedTypes.PreludeHiding,
LambdaHack Game.LambdaHack.Core.Prelude Game.LambdaHack.Core.Prelude,
cabal-install-solver Distribution.Solver.Compat.Prelude,
faktory Faktory.Prelude The class of semigroups (types with an associative binary operation).
Instances should satisfy the following:
- Associativity x <> (y <> z) =
(x <> y) <> z
You can alternatively define
sconcat instead of
(
<>), in which case the laws are:
The class of semigroups (types with an associative binary operation).
Instances should satisfy the following:
- Associativity x <> (y <> z) =
(x <> y) <> z
You can alternatively define
sconcat instead of
(
<>), in which case the laws are:
The class of semigroups (types with an associative binary operation).
Instances should satisfy the following:
- Associativity x <> (y <> z) =
(x <> y) <> z
You can alternatively define
sconcat instead of
(
<>), in which case the laws are:
@since base-4.9.0.0
The class of semigroups (types with an associative binary operation).
Instances should satisfy the following:
- Associativity x <> (y <> z) =
(x <> y) <> z
TextShow instances for data types in the
Data.Semigroup module.
Since: 3
Some semigroup instances used in several places
Not on Stackage, so not searched.
A semigroup
This module provides the ability to append two records using
(<>), provided that all of their fields have an instance
of
Semigroup.
Properties to check that the
Semigroup a satisfies the
semigroup properties. The argument value is ignored and is present
only for its type.
A semigroupoid satisfies all of the requirements to be a Category
except for the existence of identity arrows.
Convert bijections to and from semigroupoids
Iso.