stack-1.0.4: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Types.GhcPkgId

Description

A ghc-pkg id.

Synopsis

Documentation

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.