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.

  1. installedComponentId_ :: InstalledPackageInfo -> ComponentId

    Cabal-syntax Distribution.InstalledPackageInfo

    No documentation available.

  2. installedOpenUnitId :: InstalledPackageInfo -> OpenUnitId

    Cabal-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.

  3. installedUnitId :: InstalledPackageInfo -> UnitId

    Cabal-syntax Distribution.InstalledPackageInfo

    No documentation available.

  4. parseInstalledPackageInfo :: ByteString -> Either (NonEmpty String) ([String], InstalledPackageInfo)

    Cabal-syntax Distribution.InstalledPackageInfo

    Return either errors, or IPI with list of warnings

  5. showFullInstalledPackageInfo :: InstalledPackageInfo -> String

    Cabal-syntax Distribution.InstalledPackageInfo

    The variant of showInstalledPackageInfo which outputs pkgroot field too.

  6. showInstalledPackageInfo :: InstalledPackageInfo -> String

    Cabal-syntax Distribution.InstalledPackageInfo

    Pretty print InstalledPackageInfo. pkgRoot isn't printed, as ghc-pkg prints it manually (as GHC-8.4).

  7. showInstalledPackageInfoField :: String -> Maybe (InstalledPackageInfo -> String)

    Cabal-syntax Distribution.InstalledPackageInfo

    >>> let ipi = emptyInstalledPackageInfo { maintainer = fromString "Tester" }
    
    >>> fmap ($ ipi) $ showInstalledPackageInfoField "maintainer"
    Just "maintainer: Tester"
    

  8. showSimpleInstalledPackageInfoField :: String -> Maybe (InstalledPackageInfo -> String)

    Cabal-syntax Distribution.InstalledPackageInfo

    No documentation available.

  9. class HasUnitId pkg => PackageInstalled pkg

    Cabal-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.

  10. installedDepends :: PackageInstalled pkg => pkg -> [UnitId]

    Cabal-syntax Distribution.Package

    No documentation available.

Page 420 of many | Previous | Next