Module
Prim.Ordering
The Prim.Ordering module is embedded in the PureScript compiler. Unlike Prim, it is not imported implicitly. It contains a type level Ordering data structure.
#Ordering
data Ordering :: TypeThe Ordering kind represents the three possibilities of comparing two
types of the same kind: LT (less than), EQ (equal to), and
GT (greater than).
#LT
data LT :: OrderingThe 'less than' ordering type.
#EQ
data EQ :: OrderingThe 'equal to' ordering type.
#GT
data GT :: OrderingThe 'greater than' ordering type.