Copyright | (c) 2012 University of Oxford |
---|---|
License | BSD3 |
Maintainer | generics@haskell.org |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Generics.Deriving.ConNames
Description
Summary: Return the name of all the constructors of a type.
Functionality for retrieving the names of the possible contructors
class ConNames f where Source #
Instances
Constructor c => ConNames (C1 c f :: k -> Type) Source # | |
Defined in Generics.Deriving.ConNames | |
ConNames f => ConNames (D1 c f :: k -> Type) Source # | |
Defined in Generics.Deriving.ConNames | |
(ConNames f, ConNames g) => ConNames (f :+: g :: k -> Type) Source # | |
Defined in Generics.Deriving.ConNames |