Module
Type.Data.Ordering
- Package
- purescript-typelevel-prelude
- Repository
- purescript/purescript-typelevel-prelude
#IsOrdering Source
class IsOrdering :: Ordering -> Constraint
class IsOrdering ordering where
Class for reflecting a type level Ordering
at the value level
Members
reflectOrdering :: Proxy ordering -> Ordering
Instances
#reifyOrdering Source
reifyOrdering :: forall r. Ordering -> (forall o. IsOrdering o => Proxy o -> r) -> r
Use a value level Ordering
as a type-level Ordering