Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
installedComponentId_ :: InstalledPackageInfo -> ComponentIdCabal-syntax Distribution.InstalledPackageInfo No documentation available.
installedOpenUnitId :: InstalledPackageInfo -> OpenUnitIdCabal-syntax Distribution.InstalledPackageInfo Get the indefinite unit identity representing this package. This IS NOT guaranteed to give you a substitution; for instantiated packages you will get DefiniteUnitId (installedUnitId ipi). For indefinite libraries, however, you will correctly get an OpenUnitId with the appropriate OpenModuleSubst.
installedUnitId :: InstalledPackageInfo -> UnitIdCabal-syntax Distribution.InstalledPackageInfo No documentation available.
parseInstalledPackageInfo :: ByteString -> Either (NonEmpty String) ([String], InstalledPackageInfo)Cabal-syntax Distribution.InstalledPackageInfo Return either errors, or IPI with list of warnings
showFullInstalledPackageInfo :: InstalledPackageInfo -> StringCabal-syntax Distribution.InstalledPackageInfo The variant of showInstalledPackageInfo which outputs pkgroot field too.
showInstalledPackageInfo :: InstalledPackageInfo -> StringCabal-syntax Distribution.InstalledPackageInfo Pretty print InstalledPackageInfo. pkgRoot isn't printed, as ghc-pkg prints it manually (as GHC-8.4).
showInstalledPackageInfoField :: String -> Maybe (InstalledPackageInfo -> String)Cabal-syntax Distribution.InstalledPackageInfo >>> let ipi = emptyInstalledPackageInfo { maintainer = fromString "Tester" } >>> fmap ($ ipi) $ showInstalledPackageInfoField "maintainer" Just "maintainer: Tester"showSimpleInstalledPackageInfoField :: String -> Maybe (InstalledPackageInfo -> String)Cabal-syntax Distribution.InstalledPackageInfo No documentation available.
class HasUnitId pkg =>
PackageInstalled pkgCabal-syntax Distribution.Package Class of installed packages. The primary data type which is an instance of this package is InstalledPackageInfo, but when we are doing install plans in Cabal install we may have other, installed package-like things which contain more metadata. Installed packages have exact dependencies installedDepends.
installedDepends :: PackageInstalled pkg => pkg -> [UnitId]Cabal-syntax Distribution.Package No documentation available.