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 :: (Eq k, Hashable k) => k -> Map k v -> IO (Maybe v)ctrie Control.Concurrent.Map O(log n). Return the value associated with the given key, or Nothing.
lookup :: Ord k => k -> IntervalMap k a -> Maybe adata-interval Data.IntervalMap.Lazy Lookup the value at a key in the map. The function will return the corresponding value as (Just value), or Nothing if the key isn't in the map.
lookup :: Ord k => k -> IntervalMap k a -> Maybe adata-interval Data.IntervalMap.Strict Lookup the value at a key in the map. The function will return the corresponding value as (Just value), or Nothing if the key isn't in the map.
lookup :: Int -> DEPQ p v -> Maybe (p, v)depq Data.DEPQ Lookup a key
lookup :: Eq a => a -> [(a, b)] -> Maybe bdimensional Numeric.Units.Dimensional.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 :: Key -> WordMap v -> Maybe vdiscrimination Data.Discrimination.Internal.WordMap No documentation available.
lookup :: Eq a => a -> [(a, b)] -> Maybe bdistribution-opensuse OpenSuse.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 bfaktory Faktory.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 :: Text -> Header -> Maybe Valuefits-parse Data.Fits No documentation available.
lookup :: Eq a => a -> CmdMemoizer a b -> Maybe bghci4luatex Data.Memoizer.Commands Access the memoized result of a command if it is equal to the current memoized command