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 |
Provided promoted definitions related to type-level equality.
- class PEq a where
- data (:==$) (l :: TyFun a6989586621679297822 (TyFun a6989586621679297822 Bool -> Type))
- data (l :: a6989586621679297822) :==$$ (l :: TyFun a6989586621679297822 Bool)
- type (:==$$$) (t :: a6989586621679297822) (t :: a6989586621679297822) = (:==) t t
- data (:/=$) (l :: TyFun a6989586621679297822 (TyFun a6989586621679297822 Bool -> Type))
- data (l :: a6989586621679297822) :/=$$ (l :: TyFun a6989586621679297822 Bool)
- type (:/=$$$) (t :: a6989586621679297822) (t :: a6989586621679297822) = (:/=) t t
Documentation
The promoted analogue of Eq
. If you supply no definition for '(:==)',
then it defaults to a use of '(==)', from Data.Type.Equality
.
PEq Bool Source # | |
PEq Ordering Source # | |
PEq () Source # | |
PEq [k] Source # | |
PEq (Maybe k) Source # | |
PEq (NonEmpty k) Source # | |
PEq (Either k1 k2) Source # | |
PEq (k1, k2) Source # | |
PEq (k1, k2, k3) Source # | |
PEq (k1, k2, k3, k4) Source # | |
PEq (k1, k2, k3, k4, k5) Source # | |
PEq (k1, k2, k3, k4, k5, k6) Source # | |
PEq (k1, k2, k3, k4, k5, k6, k7) Source # | |