The Ord type defines total ordering.
Ord
Inspired by Data.Ord from Haskell.
Instances must obey the following laws:
S.lte(a, b)
S.lte(b, a)
S.equals(a, b)
S.lte(b, c)
S.lte(a, c)
Equivalent with the Ord type-class in the static-land spec.
Generated using TypeDoc
The
Ord
type defines total ordering.Inspired by Data.Ord from Haskell.
Instances must obey the following laws:
S.lte(a, b)
orS.lte(b, a)
S.lte(a, b)
andS.lte(b, a)
, thenS.equals(a, b)
S.lte(a, b)
andS.lte(b, c)
, thenS.lte(a, c)
Equivalent with the
Ord
type-class in the static-land spec.