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 infix 4 Source
type arg :<= arg :: Bool infix 4 Source
type arg :> arg :: Bool infix 4 Source
POrd Bool (KProxy Bool) Source | |
POrd Ordering (KProxy Ordering) Source | |
POrd () (KProxy ()) Source | |
POrd [a] (KProxy [a]) Source | |
POrd (Maybe a) (KProxy (Maybe a)) Source | |
POrd (Either a b) (KProxy (Either a b)) Source | |
POrd ((,) a b) (KProxy ((,) a b)) Source | |
POrd ((,,) a b c) (KProxy ((,,) a b c)) Source | |
POrd ((,,,) a b c d) (KProxy ((,,,) a b c d)) Source | |
POrd ((,,,,) a b c d e) (KProxy ((,,,,) a b c d e)) Source | |
POrd ((,,,,,) a b c d e f) (KProxy ((,,,,,) a b c d e f)) Source | |
POrd ((,,,,,,) a b c d e f g) (KProxy ((,,,,,,) a b c d e f g)) Source |
data CompareSym0 l Source
SuppressUnusedWarnings (TyFun k (TyFun k Ordering -> *) -> *) (CompareSym0 k) Source | |
type Apply (TyFun k Ordering -> *) k (CompareSym0 k) l0 = CompareSym1 k l0 Source |
data CompareSym1 l l Source
SuppressUnusedWarnings (k -> TyFun k Ordering -> *) (CompareSym1 k) Source | |
type Apply Ordering k (CompareSym1 k l1) l0 = CompareSym2 k l1 l0 Source |
type CompareSym2 t t = Compare t t Source