Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class DeriveGCompare t where Source #
deriveGCompare :: t -> Q [ Dec ] Source #
Instances
DeriveGCompare Dec Source # | |
Defined in Data.GADT.Compare.TH |
|
DeriveGCompare Name Source # | |
Defined in Data.GADT.Compare.TH |
|
DeriveGCompare t => DeriveGCompare [t] Source # | |
Defined in Data.GADT.Compare.TH deriveGCompare :: [t] -> Q [ Dec ] Source # |
|
DeriveGCompare t => DeriveGCompare ( Q t) Source # | |
Defined in Data.GADT.Compare.TH |
data GComparing a b t Source #
Instances
Monad ( GComparing a b) Source # | |
Defined in Data.GADT.Compare.TH (>>=) :: GComparing a b a0 -> (a0 -> GComparing a b b0) -> GComparing a b b0 Source # (>>) :: GComparing a b a0 -> GComparing a b b0 -> GComparing a b b0 Source # return :: a0 -> GComparing a b a0 Source # |
|
Functor ( GComparing a b) Source # | |
Defined in Data.GADT.Compare.TH fmap :: (a0 -> b0) -> GComparing a b a0 -> GComparing a b b0 Source # (<$) :: a0 -> GComparing a b b0 -> GComparing a b a0 Source # |
|
Applicative ( GComparing a b) Source # | |
Defined in Data.GADT.Compare.TH pure :: a0 -> GComparing a b a0 Source # (<*>) :: GComparing a b (a0 -> b0) -> GComparing a b a0 -> GComparing a b b0 Source # liftA2 :: (a0 -> b0 -> c) -> GComparing a b a0 -> GComparing a b b0 -> GComparing a b c Source # (*>) :: GComparing a b a0 -> GComparing a b b0 -> GComparing a b b0 Source # (<*) :: GComparing a b a0 -> GComparing a b b0 -> GComparing a b a0 Source # |
runGComparing :: forall k (a :: k) (b :: k). GComparing a b ( GOrdering a b) -> GOrdering a b Source #
compare' :: forall k a1 (a2 :: k) (b :: k). Ord a1 => a1 -> a1 -> GComparing a2 b () Source #