/typeclasses/Classes/Ordering/Type.dhall

Copy path to clipboard

Ordering typeclass for types that support total ordering and comparison.

Requires: order : A -> A -> Order

Source

{-|
Ordering typeclass for types that support total ordering and comparison.

Requires: `order : A -> A -> Order`
-}
\(A : Type) -> { order : A -> A -> ./Order/Type.dhall }