Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. deleteSourcePackageId :: PackageId -> InstalledPackageIndex -> InstalledPackageIndex

    Cabal Distribution.Simple.PackageIndex

    Removes all packages with this source PackageId from the index.

  2. deleteUnitId :: UnitId -> InstalledPackageIndex -> InstalledPackageIndex

    Cabal Distribution.Simple.PackageIndex

    Removes a single installed package from the index.

  3. lookupComponentId :: PackageIndex a -> ComponentId -> Maybe a

    Cabal Distribution.Simple.PackageIndex

    Does a lookup by component identifier. In the absence of Backpack, this is just a lookupUnitId.

  4. lookupPackageId :: PackageIndex a -> PackageId -> Maybe a

    Cabal Distribution.Simple.PackageIndex

    Convenient alias of lookupSourcePackageId, but assuming only one package per package ID.

  5. lookupSourcePackageId :: PackageIndex a -> PackageId -> [a]

    Cabal Distribution.Simple.PackageIndex

    Does a lookup by source package id (name & version). There can be multiple installed packages with the same source PackageId but different UnitId. They are returned in order of preference, with the most preferred first.

  6. lookupUnitId :: PackageIndex a -> UnitId -> Maybe a

    Cabal Distribution.Simple.PackageIndex

    Does a lookup by unit identifier. Since multiple package DBs mask each other by UnitId, then we get back at most one package.

  7. programId :: ConfiguredProgram -> String

    Cabal Distribution.Simple.Program

    Just the name again

  8. programOverrideArgs :: ConfiguredProgram -> [String]

    Cabal Distribution.Simple.Program

    Override command-line args for this program. These flags will appear last on the command line, so they override all earlier flags.

  9. programOverrideEnv :: ConfiguredProgram -> [(String, Maybe String)]

    Cabal Distribution.Simple.Program

    Override environment variables for this program. These env vars will extend/override the prevailing environment of the current to form the environment for the new process.

  10. suppressOverrideArgs :: ConfiguredProgram -> ConfiguredProgram

    Cabal Distribution.Simple.Program

    Suppress any extra arguments added by the user.

Page 433 of many | Previous | Next