regular-0.2: Generic programming library for regular datatypes.Source codeContentsIndex
Generics.Regular.Functions.ConNames
Portabilitynon-portable
Stabilityexperimental
Maintainergenerics@haskell.org
Contents
Functionality for retrieving the names of all the possible contructors
Description
Summary: Return the name of all the constructors of a type.
Synopsis
class ConNames f where
hconNames :: f a -> [String]
conNames :: (Regular a, ConNames (PF a)) => a -> [String]
Functionality for retrieving the names of all the possible contructors
class ConNames f whereSource
Methods
hconNames :: f a -> [String]Source
show/hide Instances
conNames :: (Regular a, ConNames (PF a)) => a -> [String]Source
Return the name of all the constructors of the type of the given term.
Produced by Haddock version 2.4.2