Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

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

  2. lookupKnownProgram :: String -> ProgramDb -> Maybe Program

    Cabal Distribution.Simple.Program

    No documentation available.

  3. lookupProgram :: Program -> ProgramDb -> Maybe ConfiguredProgram

    Cabal Distribution.Simple.Program

    Try to find a configured program

  4. lookupProgramVersion :: Verbosity -> Program -> VersionRange -> ProgramDb -> IO (Either CabalException (ConfiguredProgram, Version, ProgramDb))

    Cabal Distribution.Simple.Program

    Check that a program is configured and available to be run. Additionally check that the program version number is suitable and return it. For example you could require AnyVersion or orLaterVersion (Version [1,0] []) It returns the configured program, its version number and a possibly updated ProgramDb. If the program could not be configured or the version is unsuitable, it returns an error value.

  5. lookupKnownProgram :: String -> ProgramDb -> Maybe Program

    Cabal Distribution.Simple.Program.Db

    No documentation available.

  6. lookupProgram :: Program -> ProgramDb -> Maybe ConfiguredProgram

    Cabal Distribution.Simple.Program.Db

    Try to find a configured program

  7. lookupProgramByName :: String -> ProgramDb -> Maybe ConfiguredProgram

    Cabal Distribution.Simple.Program.Db

    Try to find a configured program

  8. lookupProgramVersion :: Verbosity -> Program -> VersionRange -> ProgramDb -> IO (Either CabalException (ConfiguredProgram, Version, ProgramDb))

    Cabal Distribution.Simple.Program.Db

    Check that a program is configured and available to be run. Additionally check that the program version number is suitable and return it. For example you could require AnyVersion or orLaterVersion (Version [1,0] []) It returns the configured program, its version number and a possibly updated ProgramDb. If the program could not be configured or the version is unsuitable, it returns an error value.

  9. lookupGlobalName :: GhcMonad m => Name -> m (Maybe TyThing)

    ghc GHC

    Looks up a global name: that is, any top-level name in any visible module. Unlike lookupName, lookupGlobalName does not use the interactive context, and therefore does not require a preceding setContext.

  10. lookupModule :: GhcMonad m => ModuleName -> Maybe FastString -> m Module

    ghc GHC

    Like findModule, but differs slightly when the module refers to a source file, and the file has not been loaded via load. In this case, findModule will throw an error (module not loaded), but lookupModule will check to see whether the module can also be found in a package, and if so, that package Module will be returned. If not, the usual module-not-found error will be thrown.

Page 41 of many | Previous | Next