Methods
setoidReflexivity
- setoidReflexivity(a: A): Equiv<boolean>
-
Parameters
Returns Equiv<boolean>
setoidSymmetry
- setoidSymmetry(x: A, y: A): Equiv<boolean>
-
Parameters
Returns Equiv<boolean>
setoidTransitivity
- setoidTransitivity(x: A, y: A, z: A): Equiv<boolean>
-
Parameters
Returns Equiv<boolean>
Type-class laws for
Setoid
, as defined in thefunland
sub-project and in thestatic-land
spec.Laws defined for
Setoid
: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)