Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ComponentName where
- CLibName LibraryName
- CNotLibName NotLibComponentName
- pattern CFLibName :: UnqualComponentName -> ComponentName
- pattern CExeName :: UnqualComponentName -> ComponentName
- pattern CTestName :: UnqualComponentName -> ComponentName
- pattern CBenchName :: UnqualComponentName -> ComponentName
- showComponentName :: ComponentName -> String
- componentNameRaw :: ComponentName -> String
- componentNameStanza :: ComponentName -> String
- componentNameString :: ComponentName -> Maybe UnqualComponentName
Documentation
data ComponentName Source #
CLibName LibraryName | |
CNotLibName NotLibComponentName |
pattern CFLibName :: UnqualComponentName -> ComponentName | |
pattern CExeName :: UnqualComponentName -> ComponentName | |
pattern CTestName :: UnqualComponentName -> ComponentName | |
pattern CBenchName :: UnqualComponentName -> ComponentName |
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.