| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Constructor.Extract.Internal
Contents
Synopsis
- data DataAndCon = MkDataAndCon {}
- conTypeArgNames :: DataAndCon -> [Name]
- dataAndConFromName :: Name -> Q DataAndCon
- conNamesFromTypeName :: Name -> Q [Name]
Main data type
data DataAndCon Source #
Constructors
| MkDataAndCon | |
Instances
| Show DataAndCon Source # | |
Defined in Data.Constructor.Extract.Internal Methods showsPrec :: Int -> DataAndCon -> ShowS # show :: DataAndCon -> String # showList :: [DataAndCon] -> ShowS # | |
| Eq DataAndCon Source # | |
Defined in Data.Constructor.Extract.Internal | |
conTypeArgNames :: DataAndCon -> [Name] Source #
dataAndConFromName :: Name -> Q DataAndCon Source #
Get DataAndCon from the target constructor's name