dependent-sum-template-0.1.0.0: Template Haskell code to generate instances of classes in dependent-sum package

Safe HaskellNone
LanguageHaskell98

Data.GADT.Compare.TH

Documentation

class DeriveGEQ t where Source #

Methods

deriveGEq :: t -> Q [Dec] Source #

Instances
DeriveGEQ Dec Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGEq :: Dec -> Q [Dec] Source #

DeriveGEQ Name Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGEq :: Name -> Q [Dec] Source #

DeriveGEQ t => DeriveGEQ [t] Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGEq :: [t] -> Q [Dec] Source #

DeriveGEQ t => DeriveGEQ (Q t) Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGEq :: Q t -> Q [Dec] Source #

class DeriveGCompare t where Source #

Methods

deriveGCompare :: t -> Q [Dec] Source #

Instances
DeriveGCompare Dec Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGCompare :: Dec -> Q [Dec] Source #

DeriveGCompare Name Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGCompare :: Name -> Q [Dec] Source #

DeriveGCompare t => DeriveGCompare [t] Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGCompare :: [t] -> Q [Dec] Source #

DeriveGCompare t => DeriveGCompare (Q t) Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

deriveGCompare :: Q t -> Q [Dec] Source #

data GComparing a b t Source #

Instances
Monad (GComparing a b) Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

(>>=) :: GComparing a b a0 -> (a0 -> GComparing a b b0) -> GComparing a b b0 #

(>>) :: GComparing a b a0 -> GComparing a b b0 -> GComparing a b b0 #

return :: a0 -> GComparing a b a0 #

fail :: String -> GComparing a b a0 #

Functor (GComparing a b) Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

fmap :: (a0 -> b0) -> GComparing a b a0 -> GComparing a b b0 #

(<$) :: a0 -> GComparing a b b0 -> GComparing a b a0 #

Applicative (GComparing a b) Source # 
Instance details

Defined in Data.GADT.Compare.TH

Methods

pure :: a0 -> GComparing a b a0 #

(<*>) :: GComparing a b (a0 -> b0) -> GComparing a b a0 -> GComparing a b b0 #

liftA2 :: (a0 -> b0 -> c) -> GComparing a b a0 -> GComparing a b b0 -> GComparing a b c #

(*>) :: GComparing a b a0 -> GComparing a b b0 -> GComparing a b b0 #

(<*) :: GComparing a b a0 -> GComparing a b b0 -> GComparing a b a0 #

geq' :: GCompare t => t a -> t b -> GComparing x y (a :~: b) Source #

compare' :: Ord a1 => a1 -> a1 -> GComparing a2 b () Source #