Copyright | (C) 2014 Jan Stolarek |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Jan Stolarek (jan.stolarek@p.lodz.pl) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Provides promoted definitions related to type-level comparisons.
Documentation
class (PEq (KProxy :: KProxy a), (~) kproxy KProxy) => POrd kproxy Source
type Compare arg arg :: Ordering Source
type arg :< arg :: Bool Source
type arg :>= arg :: Bool Source
type arg :> arg :: Bool Source
POrd Bool (KProxy Bool) | |
POrd Ordering (KProxy Ordering) | |
POrd Nat (KProxy Nat) | |
POrd Symbol (KProxy Symbol) | |
POrd () (KProxy ()) | |
POrd [k] (KProxy [k]) | |
POrd (Maybe k) (KProxy (Maybe k)) | |
POrd (Either k k) (KProxy (Either k k)) | |
POrd ((,) k k) (KProxy ((,) k k)) | |
POrd ((,,) k k k) (KProxy ((,,) k k k)) | |
POrd ((,,,) k k k k) (KProxy ((,,,) k k k k)) | |
POrd ((,,,,) k k k k k) (KProxy ((,,,,) k k k k k)) | |
POrd ((,,,,,) k k k k k k) (KProxy ((,,,,,) k k k k k k)) | |
POrd ((,,,,,,) k k k k k k k) (KProxy ((,,,,,,) k k k k k k k)) |
data CompareSym0 l Source
SuppressUnusedWarnings (TyFun k (TyFun k Ordering -> *) -> *) (CompareSym0 k) | |
type Apply (TyFun k Ordering -> *) k (CompareSym0 k) l0 = CompareSym1 k l0 |
data CompareSym1 l l Source
SuppressUnusedWarnings (k -> TyFun k Ordering -> *) (CompareSym1 k) | |
type Apply Ordering k (CompareSym1 k l1) l0 = CompareSym2 k l1 l0 |
type CompareSym2 t t = Compare t t Source