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.
lookupBy :: (Maybe a -> Trie a -> b) -> ByteString -> Trie a -> bbytestring-trie Data.Trie Generic function to find a value (if it exists) and the subtrie rooted at the prefix.
lookupWithDefault :: a -> ByteString -> Trie a -> abytestring-trie Data.Trie.Convenience Lookup a key, returning a default value if it's not found.
lookupBy_ :: (a -> Trie a -> b) -> (Trie a -> b) -> b -> ByteString -> Trie a -> bbytestring-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
lookupIndexState :: RepoName -> TotalIndexState -> RepoIndexStatecabal-install Distribution.Client.IndexUtils.IndexState Lookup a RepoIndexState for an individual repository from TotalIndexState.
-
cabal-install Distribution.Client.InstallPlan Lookup the build result for a single package.
-
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.
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
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
lookupKey :: FromJSON a => Text -> Object -> Maybe acached-json-file System.Cached.JSON Look up key in object
lookupSig :: MonadThrow m => Signature -> AlloyInstance -> m AlloySigcall-alloy Language.Alloy.Call Lookup a signature within a given Alloy instance.