Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. lookup :: Key -> Word64Map a -> Maybe a

    ghc-lib-parser GHC.Data.Word64Map.Strict.Internal

    Lookup the value at a key in the map. See also lookup.

  2. lookup :: Ord k => k -> Map k a -> Maybe a

    ghc-lib-parser GHC.Internal.TH.Lib.Map

    No documentation available.

  3. lookup :: Eq a => a -> [(a, b)] -> Maybe b

    ghc-lib-parser GHC.Prelude.Basic

    lookup key assocs looks up a key in an association list. For the result to be Nothing, the list must be finite.

    Examples

    >>> lookup 2 []
    Nothing
    
    >>> lookup 2 [(1, "first")]
    Nothing
    
    >>> lookup 2 [(1, "first"), (2, "second"), (3, "third")]
    Just "second"
    

  4. lookup :: KeyId -> KeyEnv -> Maybe (Some PublicKey)

    hackage-security Hackage.Security.Key.Env

    No documentation available.

  5. lookup :: TargetPath -> FileMap -> Maybe FileInfo

    hackage-security Hackage.Security.TUF.FileMap

    No documentation available.

  6. lookup :: Ord k => k -> OMap k v -> Maybe v

    ordered-containers Data.Map.Ordered

    No documentation available.

  7. lookup :: Ord k => k -> OMap k v -> Maybe v

    ordered-containers Data.Map.Ordered.Strict

    No documentation available.

  8. lookup :: Configured a => Config -> Name -> IO (Maybe a)

    configurator Data.Configurator

    Look up a name in the given Config. If a binding exists, and the value can be converted to the desired type, return the converted value, otherwise Nothing.

  9. lookup :: Text -> Int -> Context a -> Maybe a

    dhall Dhall.Context

    Look up a key by name and index

    lookup _ _         empty  = Nothing
    lookup k 0 (insert k v c) = Just v
    lookup k n (insert k v c) = lookup k (n - 1) c
    lookup k n (insert j v c) = lookup k  n      c  -- k /= j
    

  10. lookup :: Ord k => k -> Map k v -> Maybe v

    dhall Dhall.Map

    Retrieve a key from a Map

    lookup k mempty = empty
    
    lookup k (x <> y) = lookup k y <|> lookup k x
    
    >>> lookup "A" (fromList [("B",1),("A",2)])
    Just 2
    
    >>> lookup "C" (fromList [("B",1),("A",2)])
    Nothing
    

Page 9 of many | Previous | Next