type-int-0.4: Type Level 2s- and 16s- Complement IntegersContentsIndex
Data.Type.Ord
Portabilitynon-portable (FD and MPTC, undecidable-instances)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Description

Simple equality and ordering for types. Extended to include common usage cases.

Instances should all really be decidable.

Documentation
class TBool b => TEq x y b | x y -> b
show/hide Instances
TEq F F T
TEq F T F
TEq T F F
TEq T T T
TEq (I m) F F
TEq (I m) T F
TEq (O m) F F
TEq (O m) T F
TEq m n b => TEq (I m) (I n) b
TEq (I m) (O n) F
TEq (O m) (I n) F
TEq m n b => TEq (O m) (O n) b
tEq :: TEq x y b => x -> y -> b
class TBool b => TLt x y b | x y -> b
show/hide Instances
(TBool d, TNeg b b', TAdd' a b' c, TIsNegative c d) => TLt a b d
tLt :: TLt x y b => x -> y -> b
class TCGe Closure x y b => TGe x y b | x y -> b
show/hide Instances
(TBool b', TLt x y b, TNot b b') => TGe x y b'
tGe :: TGe x y b => x -> y -> b
class TBool b => TLe x y b | x y -> b
show/hide Instances
(TBool b'', TEq x y b, TLt x y b', TOr b b' b'') => TLe x y b''
tLe :: TGt x y b => x -> y -> b
class TBool b => TGt x y b | x y -> b
show/hide Instances
(TBool b', TLe x y b, TNot b b') => TGt x y b'
tGt :: TGt x y b => x -> y -> b
Produced by Haddock version 0.8