Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookup :: Ord k => k -> IntervalMap k v -> Maybe vIntervalMap Data.IntervalMap.Lazy O(log n). Look up the given key in the map, returning the value (Just value), or Nothing if the key is not in the map.
lookup :: Ord k => k -> IntervalMap k v -> Maybe vIntervalMap Data.IntervalMap.Strict O(log n). Look up the given key in the map, returning the value (Just value), or Nothing if the key is not in the map.
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.