Hoogle Search
Within LTS Haskell 24.60 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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
lookup :: (Eq a, Ord k) => a -> SessionMemoizer k a b -> Maybe bghci4luatex Data.Memoizer.Sessions Lookup the memoized result of the current session.
lookup :: Ord k => Group s k -> k -> IO (Maybe (W s))glfw-group Graphics.UI.GlfwG.Window No documentation available.
lookup :: forall k (c :: Type -> Type) v . (PMapKey k, NonEmptyLike c) => k -> PMap c v -> Maybe vgreskell Data.Greskell.AsLabel Lookup the first value for the key from PMap.
lookup :: forall k (c :: Type -> Type) v . (PMapKey k, NonEmptyLike c) => k -> PMap c v -> Maybe vgreskell Data.Greskell.PMap Lookup the first value for the key from PMap.
lookup :: (Hashable k, Ord k) => k -> Map k a -> Maybe ahashmap Data.HashMap Lookup the value at a key in the map.