Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data LibraryName
- defaultLibName :: LibraryName
- maybeToLibraryName :: Maybe UnqualComponentName -> LibraryName
- showLibraryName :: LibraryName -> String
- libraryNameStanza :: LibraryName -> String
- libraryNameString :: LibraryName -> Maybe UnqualComponentName
- prettyLibraryNameComponent :: LibraryName -> Doc
- parsecLibraryNameComponent :: CabalParsing m => m LibraryName
Documentation
data LibraryName #
Instances
maybeToLibraryName :: Maybe UnqualComponentName -> LibraryName #
Convert the UnqualComponentName
of a library into a
LibraryName
.
showLibraryName :: LibraryName -> String #
libraryNameStanza :: LibraryName -> String #
Pretty & Parse
prettyLibraryNameComponent :: LibraryName -> Doc #
Pretty print LibraryName
in build-target-ish syntax.
Note: there are no Pretty
or Parsec
instances,
as there's other way to represent LibraryName
, namely as bare
UnqualComponentName
.
parsecLibraryNameComponent :: CabalParsing m => m LibraryName #