Safe Haskell | None |
---|---|
Language | Haskell98 |
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 # (>>) :: 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 # | |
Defined in Data.GADT.Compare.TH 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 # | |
Defined in Data.GADT.Compare.TH 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 # |
runGComparing :: GComparing a b (GOrdering a b) -> GOrdering a b Source #
compare' :: Ord a1 => a1 -> a1 -> GComparing a2 b () Source #