Safe Haskell | None |
---|---|
Language | Haskell2010 |
Distribution.Types.ComponentName
Synopsis
Documentation
data ComponentName Source #
Constructors
CLibName LibraryName | |
CFLibName UnqualComponentName | |
CExeName UnqualComponentName | |
CTestName UnqualComponentName | |
CBenchName UnqualComponentName |
Instances
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.