Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class (EqP f, forall a. Ord (f a)) => OrdP (f :: k -> Type) where Source #
Heterogenous lifted total order.
This class is stronger version of Ord1
from base
class (forall a. Ord a => Ord (f a)) => Ord1 f where liftCompare :: (a -> b -> Ordering) -> f a -> f b -> Ordering
Since: 1.0.5
Instances
OrdP SNat Source # | |
OrdP SChar Source # | |
OrdP SSymbol Source # | |
OrdP (Proxy :: k -> Type) Source # | |
OrdP (TypeRep :: k -> Type) Source # | |
Ord a => OrdP (Const a :: k -> Type) Source # | |
OrdP ((:~:) a :: k -> Type) Source # | |
(OrdP a, OrdP b) => OrdP (Product a b :: k -> Type) Source # | |
(OrdP a, OrdP b) => OrdP (Sum a b :: k -> Type) Source # | |
OrdP ((:~~:) a :: k -> Type) Source # | |
(OrdP a, OrdP b) => OrdP (a :*: b :: k -> Type) Source # | |
(OrdP f, OrdP g) => OrdP (f :+: g :: k -> Type) Source # | |