Hoogle Search
Within LTS Haskell 24.63 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupPackageId :: PackageIndex a -> PackageId -> Maybe aCabal Distribution.Simple.PackageIndex Convenient alias of lookupSourcePackageId, but assuming only one package per package ID.
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.
lookupUnitId :: PackageIndex a -> UnitId -> Maybe aCabal 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.
programId :: ConfiguredProgram -> StringCabal Distribution.Simple.Program Just the name again
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.
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.
suppressOverrideArgs :: ConfiguredProgram -> ConfiguredProgramCabal Distribution.Simple.Program Suppress any extra arguments added by the user.
ghcOptHiDir :: GhcOptions -> Flag FilePathCabal Distribution.Simple.Program.GHC No documentation available.
ghcOptHideAllPackages :: GhcOptions -> Flag BoolCabal Distribution.Simple.Program.GHC Start with a clean package set; the ghc -hide-all-packages flag
ghcOptThisComponentId :: GhcOptions -> Flag ComponentIdCabal Distribution.Simple.Program.GHC GHC doesn't make any assumptions about the format of definite unit ids, so when we are instantiating a package it needs to be told explicitly what the component being instantiated is. This only gets set when ghcOptInstantiatedWith is non-empty