Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookup :: Key -> Word64Map a -> Maybe aghc GHC.Data.Word64Map.Lazy Lookup the value at a key in the map. See also lookup.
lookup :: Key -> Word64Map a -> Maybe aghc GHC.Data.Word64Map.Strict Lookup the value at a key in the map. See also lookup.
lookup :: Key -> Word64Map a -> Maybe aghc GHC.Data.Word64Map.Strict.Internal Lookup the value at a key in the map. See also lookup.
lookup :: Eq a => a -> [(a, b)] -> Maybe bghc GHC.Prelude.Basic No documentation available.
lookup :: Key -> CharMap a -> Maybe aregex-tdfa Data.IntMap.CharMap2 No documentation available.
lookup :: Enum key => key -> EnumMap key a -> Maybe aregex-tdfa Data.IntMap.EnumMap2 No documentation available.
lookup :: Eq a => a -> Fold (a, b) (Maybe b)foldl Control.Foldl (lookup a) returns the element paired with the first matching item, or Nothing if none matches
lookup :: Keys a -> Metadatas -> Maybe aJuicyPixels Codec.Picture.Metadata Search a metadata with the given key.
lookup :: Routable k => AddrRange k -> IPRTable k a -> Maybe aiproute Data.IP.RouteTable The lookup function looks up IPRTable with a key of AddrRange. If a routing information in IPRTable matches the key, its value is returned.
>>> let v4 = ["133.4.0.0/16","133.5.0.0/16","133.5.16.0/24","133.5.23.0/24"] :: [AddrRange IPv4] >>> let rt = fromList $ zip v4 v4 >>> lookup "127.0.0.1" rt Nothing >>> lookup "133.3.0.1" rt Nothing >>> lookup "133.4.0.0" rt Just 133.4.0.0/16 >>> lookup "133.4.0.1" rt Just 133.4.0.0/16 >>> lookup "133.5.16.0" rt Just 133.5.16.0/24 >>> lookup "133.5.16.1" rt Just 133.5.16.0/24
lookup :: Routable k => AddrRange k -> IPRTable k a -> Maybe aiproute Data.IP.RouteTable.Internal The lookup function looks up IPRTable with a key of AddrRange. If a routing information in IPRTable matches the key, its value is returned.
>>> let v4 = ["133.4.0.0/16","133.5.0.0/16","133.5.16.0/24","133.5.23.0/24"] :: [AddrRange IPv4] >>> let rt = fromList $ zip v4 v4 >>> lookup "127.0.0.1" rt Nothing >>> lookup "133.3.0.1" rt Nothing >>> lookup "133.4.0.0" rt Just 133.4.0.0/16 >>> lookup "133.4.0.1" rt Just 133.4.0.0/16 >>> lookup "133.5.16.0" rt Just 133.5.16.0/24 >>> lookup "133.5.16.1" rt Just 133.5.16.0/24