Safe Haskell | None |
---|---|
Language | Haskell2010 |
A ghc-pkg id.
Synopsis
- data GhcPkgId
- unGhcPkgId :: GhcPkgId -> Text
- ghcPkgIdParser :: Parser GhcPkgId
- parseGhcPkgId :: MonadThrow m => Text -> m GhcPkgId
- ghcPkgIdString :: GhcPkgId -> String
Documentation
A ghc-pkg package identifier.
Instances
unGhcPkgId :: GhcPkgId -> Text Source #
Get a text value of GHC package id
ghcPkgIdParser :: Parser GhcPkgId Source #
A parser for a package-version-hash pair.
parseGhcPkgId :: MonadThrow m => Text -> m GhcPkgId Source #
Convenient way to parse a package name from a Text
.
ghcPkgIdString :: GhcPkgId -> String Source #
Get a string representation of GHC package id.