stack-0.1.0.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Types.GhcPkgId

Description

A ghc-pkg id.

Synopsis

Documentation

data GhcPkgId Source

A ghc-pkg package identifier.

ghcPkgIdParser :: Parser GhcPkgId Source

A parser for a package-version-hash pair.

parseGhcPkgId :: MonadThrow m => ByteString -> m GhcPkgId Source

Convenient way to parse a package name from a bytestring.

ghcPkgIdString :: GhcPkgId -> String Source

Get a string representation of GHC package id.

ghcPkgIdPackageIdentifier :: GhcPkgId -> PackageIdentifier Source

Get the package identifier of the GHC package id.