singletons-2.4: A framework for generating singleton types

Copyright(C) 2014 Jan Stolarek
LicenseBSD-style (see LICENSE)
MaintainerJan Stolarek (jan.stolarek@p.lodz.pl)
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.Promotion.Prelude.Eq

Description

Provided promoted definitions related to type-level equality.

Synopsis

Documentation

class PEq a Source #

The promoted analogue of Eq. If you supply no definition for '(==)', then it defaults to a use of '(DTE.==)', from Data.Type.Equality.

Associated Types

type (x :: a) == (y :: a) :: Bool infix 4 Source #

type (x :: a) /= (y :: a) :: Bool infix 4 Source #

Instances
PEq Bool Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq Ordering Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq () Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq Void Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq [a] Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (Maybe a) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (NonEmpty a) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (Either a b) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (a, b) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (a, b, c) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (a, b, c, d) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (a, b, c, d, e) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (a, b, c, d, e, f) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

PEq (a, b, c, d, e, f, g) Source # 
Instance details

Associated Types

type x == y :: Bool Source #

type x /= y :: Bool Source #

data (==@#@$) (l :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type)) Source #

Instances
SuppressUnusedWarnings ((==@#@$) :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type) -> *) Source # 
Instance details
type Apply ((==@#@$) :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type) -> *) (l :: a6989586621679292214) Source # 
Instance details
type Apply ((==@#@$) :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type) -> *) (l :: a6989586621679292214) = (==@#@$$) l

data (l :: a6989586621679292214) ==@#@$$ (l :: TyFun a6989586621679292214 Bool) Source #

Instances
SuppressUnusedWarnings ((==@#@$$) :: a6989586621679292214 -> TyFun a6989586621679292214 Bool -> *) Source # 
Instance details
type Apply ((==@#@$$) l1 :: TyFun a Bool -> *) (l2 :: a) Source # 
Instance details
type Apply ((==@#@$$) l1 :: TyFun a Bool -> *) (l2 :: a) = l1 == l2

type (==@#@$$$) (t :: a6989586621679292214) (t :: a6989586621679292214) = (==) t t Source #

data (/=@#@$) (l :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type)) Source #

Instances
SuppressUnusedWarnings ((/=@#@$) :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type) -> *) Source # 
Instance details
type Apply ((/=@#@$) :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type) -> *) (l :: a6989586621679292214) Source # 
Instance details
type Apply ((/=@#@$) :: TyFun a6989586621679292214 (TyFun a6989586621679292214 Bool -> Type) -> *) (l :: a6989586621679292214) = (/=@#@$$) l

data (l :: a6989586621679292214) /=@#@$$ (l :: TyFun a6989586621679292214 Bool) Source #

Instances
SuppressUnusedWarnings ((/=@#@$$) :: a6989586621679292214 -> TyFun a6989586621679292214 Bool -> *) Source # 
Instance details
type Apply ((/=@#@$$) l1 :: TyFun a Bool -> *) (l2 :: a) Source # 
Instance details
type Apply ((/=@#@$$) l1 :: TyFun a Bool -> *) (l2 :: a) = l1 /= l2

type (/=@#@$$$) (t :: a6989586621679292214) (t :: a6989586621679292214) = (/=) t t Source #