Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. lookupBy :: (Maybe a -> Trie a -> b) -> ByteString -> Trie a -> b

    bytestring-trie Data.Trie

    Generic function to find a value (if it exists) and the subtrie rooted at the prefix.

  2. lookupWithDefault :: a -> ByteString -> Trie a -> a

    bytestring-trie Data.Trie.Convenience

    Lookup a key, returning a default value if it's not found.

  3. lookupBy_ :: (a -> Trie a -> b) -> (Trie a -> b) -> b -> ByteString -> Trie a -> b

    bytestring-trie Data.Trie.Internal

    Generic function to find a value (if it exists) and the subtrie rooted at the prefix. The first function argument is called if and only if a node is exactly reachable by the query; if no node is exactly reachable the default value is used; if the middle of an arc is reached, the second function argument is used. This function is intended for internal use. For the public-facing version, see lookupBy. Note: Type changed in 0.2.7

  4. lookupIndexState :: RepoName -> TotalIndexState -> RepoIndexState

    cabal-install Distribution.Client.IndexUtils.IndexState

    Lookup a RepoIndexState for an individual repository from TotalIndexState.

  5. lookupBuildOutcome :: HasUnitId pkg => pkg -> BuildOutcomes failure result -> Maybe (Either failure result)

    cabal-install Distribution.Client.InstallPlan

    Lookup the build result for a single package.

  6. lookupLocalPackageConfig :: (Semigroup a, Monoid a) => (PackageConfig -> a) -> ProjectConfig -> PackageName -> a

    cabal-install Distribution.Client.ProjectConfig

    Look up a PackageConfig field in the ProjectConfig for a specific PackageName. This returns the configuration that applies to all local packages plus any package-specific configuration for this package.

  7. lookupDependency :: SourcePackageDb -> PackageName -> VersionRange -> [UnresolvedSourcePackage]

    cabal-install Distribution.Client.Types.SourcePackageDb

    Does a case-sensitive search by 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. Additionally, `preferred-versions` (such as version deprecation) are honoured in this lookup, which is the only difference to lookupDependency

  8. lookupPackageName :: SourcePackageDb -> PackageName -> [UnresolvedSourcePackage]

    cabal-install Distribution.Client.Types.SourcePackageDb

    Does a case-sensitive search by package name. Additionally, `preferred-versions` (such as version deprecation) are honoured in this lookup, which is the only difference to lookupPackageName

  9. lookupKey :: FromJSON a => Text -> Object -> Maybe a

    cached-json-file System.Cached.JSON

    Look up key in object

  10. lookupSig :: MonadThrow m => Signature -> AlloyInstance -> m AlloySig

    call-alloy Language.Alloy.Call

    Lookup a signature within a given Alloy instance.

Page 90 of many | Previous | Next