Safe Haskell | None |
---|---|
Language | Haskell2010 |
Distribution.Types.ComponentName
Documentation
data ComponentName #
Constructors
CLibName | |
CSubLibName UnqualComponentName | |
CFLibName UnqualComponentName | |
CExeName UnqualComponentName | |
CTestName UnqualComponentName | |
CBenchName UnqualComponentName |
Instances
libraryComponentName :: Maybe UnqualComponentName -> ComponentName #
Convert the UnqualComponentName
of a library into a
ComponentName
.
componentNameString :: ComponentName -> Maybe UnqualComponentName #
This gets the underlying unqualified component name. In fact, it is
guaranteed to uniquely identify a component, returning
Nothing
if the ComponentName
was for the public
library.