Safe Haskell | Safe-Inferred |
---|---|
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 Source #
Instances
maybeToLibraryName :: Maybe UnqualComponentName -> LibraryName Source #
Convert the UnqualComponentName
of a library into a
LibraryName
.
showLibraryName :: LibraryName -> String Source #
Pretty & Parse
prettyLibraryNameComponent :: LibraryName -> Doc Source #
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 Source #