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.
lookup :: (Eq k, Hashable k) => k -> InsOrdHashMap k v -> Maybe vinsert-ordered-containers Data.HashMap.Strict.InsOrd No documentation available.
lookup :: (Ord k, Hashable k) => k -> Store k v -> Maybe (v, Store k v)wreq Network.Wreq.Cache.Store No documentation available.
lookup :: CI ByteString -> Headers -> Maybe ByteStringsnap-core Snap.Types.Headers Look up the value of a given HTTP header field. Example:
ghci> :set -XOverloadedStrings ghci> H.lookup "host" $ H.fromList [("Host", "localhost")] Just "localhost" ghci> H.lookup "Accept" $ H.fromList [("Host", "localhost")] Nothing
lookup :: Enum k => k -> EnumMap k a -> Maybe aenummapset Data.EnumMap.Lazy No documentation available.
lookup :: Enum k => k -> EnumMap k a -> Maybe aenummapset Data.EnumMap.Strict No documentation available.
lookup :: Ord k => k -> OMap k v -> Maybe vth-desugar Language.Haskell.TH.Desugar.OMap No documentation available.
lookup :: Ord k => k -> OMap k v -> Maybe vth-desugar Language.Haskell.TH.Desugar.OMap.Strict No documentation available.
lookup :: (Ord a, Ord b, MonadThrow m) => a -> Bimap a b -> m bbimap Data.Bimap O(log n). Lookup a left key in the bimap, returning the associated right key. This function will return the result in the monad, or fail if the value isn't in the bimap. Note that the signature differs slightly from Data.Map's lookup. This one is more general - it functions the same way as the "original" if m is cast (or inferred) to Maybe. Version: 0.2
lookup :: (Val v, MonadFail m) => Label -> Document -> m vbson Data.Bson Lookup value of field in document and cast to expected type. Fail (Nothing) if field not found or value not of expected type.
lookup :: Eq a => a -> [(a, b)] -> Maybe bghc-internal GHC.Internal.Data.List 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"