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 :: (Hashable key, Hashable value) => value -> key -> Multimap key value -> STM Boolstm-containers StmContainers.Multimap Look up an item by a value and a key.
lookup :: Hashable item => item -> Set item -> STM Boolstm-containers StmContainers.Set Lookup an element.
-
vector-hashtables Data.Vector.Hashtables O(1) in the best case, O(n) in the worst case. Find value by given key in Dictionary. Like lookup' but return Nothing if value not found.
-
vector-hashtables Data.Vector.Hashtables.Internal O(1) in the best case, O(n) in the worst case. Find value by given key in Dictionary. Like lookup' but return Nothing if value not found.
lookup :: FilePath -> ContentTypes -> Maybe Textxlsx Codec.Xlsx.Types.Internal.ContentTypes No documentation available.
lookup :: RefId -> Relationships -> Maybe Relationshipxlsx Codec.Xlsx.Types.Internal.Relationships No documentation available.
lookup :: Attribute name => Name name -> [T name string] -> Maybe stringxml-basic Text.XML.Basic.Attribute No documentation available.
lookup :: Eq a => a -> [(a, b)] -> Maybe bLambdaHack Game.LambdaHack.Core.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 bLambdaHack Game.LambdaHack.Core.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 :: Ord k => k -> PSQ k p -> Maybe pPSQueue Data.PSQueue O(log n) The priority of a given key, or Nothing if the key is not bound.