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.

  1. lookup :: Key -> Word64Map a -> Maybe a

    ghc GHC.Data.Word64Map.Lazy

    Lookup the value at a key in the map. See also lookup.

  2. lookup :: Key -> Word64Map a -> Maybe a

    ghc GHC.Data.Word64Map.Strict

    Lookup the value at a key in the map. See also lookup.

  3. lookup :: Key -> Word64Map a -> Maybe a

    ghc GHC.Data.Word64Map.Strict.Internal

    Lookup the value at a key in the map. See also lookup.

  4. lookup :: Eq a => a -> [(a, b)] -> Maybe b

    ghc GHC.Prelude.Basic

    No documentation available.

  5. lookup :: Key -> CharMap a -> Maybe a

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  6. lookup :: Enum key => key -> EnumMap key a -> Maybe a

    regex-tdfa Data.IntMap.EnumMap2

    No documentation available.

  7. 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

  8. lookup :: Keys a -> Metadatas -> Maybe a

    JuicyPixels Codec.Picture.Metadata

    Search a metadata with the given key.

  9. lookup :: Routable k => AddrRange k -> IPRTable k a -> Maybe a

    iproute 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
    

  10. lookup :: Routable k => AddrRange k -> IPRTable k a -> Maybe a

    iproute 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
    

Page 3 of many | Previous | Next