Hoogle Search

Within LTS Haskell 24.26 (ghc-9.10.3)

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

  1. lookupByRecordName :: Name -> DatatypeInfo -> ConstructorInfo

    th-abstraction Language.Haskell.TH.Datatype

    Given a DatatypeInfo, find the ConstructorInfo corresponding to the Name of one of its constructors.

  2. lookupComponent :: PackageDescription -> ComponentName -> Maybe Component

    Cabal Distribution.Simple.LocalBuildInfo

    No documentation available.

  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. lookupDependency :: InstalledPackageIndex -> PackageName -> VersionRange -> [(Version, [InstalledPackageInfo])]

    Cabal Distribution.Simple.PackageIndex

    Does a lookup by source package name and a range of versions. We get back any number of versions of the specified package name, all satisfying the version range constraint. This does NOT work for internal dependencies, DO NOT use this function on those; use lookupInternalDependency instead. INVARIANT: List of eligible InstalledPackageInfo is non-empty.

  5. lookupInternalDependency :: InstalledPackageIndex -> PackageName -> VersionRange -> LibraryName -> [(Version, [InstalledPackageInfo])]

    Cabal Distribution.Simple.PackageIndex

    Does a lookup by source package name and a range of versions. We get back any number of versions of the specified package name, all satisfying the version range constraint. INVARIANT: List of eligible InstalledPackageInfo is non-empty.

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

    Cabal Distribution.Simple.PackageIndex

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

  7. lookupPackageName :: PackageIndex a -> PackageName -> [(Version, [a])]

    Cabal Distribution.Simple.PackageIndex

    Does a lookup by source package name.

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

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

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

    Cabal Distribution.Simple.Program

    No documentation available.

Page 41 of many | Previous | Next