Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ComponentName Source #
CLibName | |
CSubLibName UnqualComponentName | |
CFLibName UnqualComponentName | |
CExeName UnqualComponentName | |
CTestName UnqualComponentName | |
CBenchName UnqualComponentName |
Instances
libraryComponentName :: Maybe UnqualComponentName -> ComponentName Source #
Convert the UnqualComponentName
of a library into a
ComponentName
.
componentNameString :: ComponentName -> Maybe UnqualComponentName Source #
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.