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.
Documentation
class (kproxy ~ KProxy) => PEq kproxy Source
The promoted analogue of Eq
. If you supply no definition for '(:==)',
then it defaults to a use of '(==)', from Data.Type.Equality
.
PEq Bool (KProxy Bool) Source | |
PEq Ordering (KProxy Ordering) Source | |
PEq () (KProxy ()) Source | |
PEq [k] (KProxy [k]) Source | |
PEq (Maybe k) (KProxy (Maybe k)) Source | |
PEq (Either k k) (KProxy (Either k k)) Source | |
PEq ((,) k k) (KProxy ((,) k k)) Source | |
PEq ((,,) k k k) (KProxy ((,,) k k k)) Source | |
PEq ((,,,) k k k k) (KProxy ((,,,) k k k k)) Source | |
PEq ((,,,,) k k k k k) (KProxy ((,,,,) k k k k k)) Source | |
PEq ((,,,,,) k k k k k k) (KProxy ((,,,,,) k k k k k k)) Source | |
PEq ((,,,,,,) k k k k k k k) (KProxy ((,,,,,,) k k k k k k k)) Source |