| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.GADT.Compare.TH
Documentation
Minimal complete definition
class DeriveGCompare t where #
Minimal complete definition
Methods
deriveGCompare :: t -> Q [Dec] #
Instances
| DeriveGCompare Dec # | |
| DeriveGCompare Name # | |
| DeriveGCompare t => DeriveGCompare [t] # | |
| DeriveGCompare t => DeriveGCompare (Q t) # | |
data GComparing a b t #
Instances
| Monad (GComparing k a b) # | |
| Functor (GComparing k a b) # | |
| Applicative (GComparing k a b) # | |
runGComparing :: GComparing k a b (GOrdering k a b) -> GOrdering k a b #
geq' :: GCompare t => t a -> t b -> GComparing x y (a := b) #
compare' :: Ord a1 => a1 -> a1 -> GComparing k a2 b () #