Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookup :: BKey -> BDictMap a -> Maybe abencoding Data.BEncode.BDict O(n). Lookup the value at a key in the dictionary.
lookup :: IsMap map => ContainerKey map -> map -> Maybe (MapValue map)classy-prelude-yesod ClassyPrelude.Yesod Look up a value in a map with a specified key.
lookup :: Eq a => a -> [(a, b)] -> Maybe bconstrained-categories Control.Category.Constrained.Prelude 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"
lookup :: Eq a => a -> [(a, b)] -> Maybe bconstrained-categories Control.Category.Hask 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"
lookup :: Eq a => a -> [(a, b)] -> Maybe bcopilot-language Copilot.Language.Prelude 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"
lookup :: (OverloadedLookup t k v, Show k, Show t, MonadFail m, Applicative m) => k -> t -> m verror-or-utils Data.ErrorOr.Utils Overloaded lookup with good error messages.
lookup :: (AllocReaderM m, Key key, Value val) => key -> Tree key val -> m (Maybe val)haskey-btree Data.BTree.Impure Lookup a value in an impure B+-tree.
lookup :: (AllocReaderM m, Key key, Value val) => key -> Tree key val -> m (Maybe val)haskey-btree Data.BTree.Impure.Internal.Lookup Lookup a value in an impure B+-tree.
lookup :: Key k => k -> Tree k v -> Maybe vhaskey-btree Data.BTree.Pure Lookup a value in the tree.
lookup :: Eq a => a -> [(a, b)] -> Maybe blistsafe Data.List.Safe 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"