| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
GHC.Generics.Extra
Description
Extensions to the GHC.Generics module.
Synopsis
- module GHC.Generics
- data ((c :: Constraint) :=>: (f :: k -> *)) (a :: k) where
Documentation
module GHC.Generics
data ((c :: Constraint) :=>: (f :: k -> *)) (a :: k) where #
Constraints: used to represent constraints in a constructor.
data Showable a = Show a => a -> X a instance Generic (Showable a) where type Rep (Showable a) = (Show a) :=>: (K1 R a)