The Setoid type defines equality.
Setoid
Inspired by Data.Eq from Haskell.
Instances must obey the following laws:
S.equals(a, a) === true
S.equals(a, b) === S.equals(b, a)
S.equals(a, b)
S.equals(b, c)
S.equals(a, c)
Equivalent with the Setoid type-class in the static-land spec.
Generated using TypeDoc
The
Setoid
type defines equality.Inspired by Data.Eq from Haskell.
Instances must obey the following laws:
S.equals(a, a) === true
S.equals(a, b) === S.equals(b, a)
S.equals(a, b)
andS.equals(b, c)
, thenS.equals(a, c)
Equivalent with the
Setoid
type-class in the static-land spec.