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.

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

    copilot-language Copilot.Language.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"
    

  2. lookup :: (OverloadedLookup t k v, Show k, Show t, MonadFail m, Applicative m) => k -> t -> m v

    error-or-utils Data.ErrorOr.Utils

    Overloaded lookup with good error messages.

  3. lookup :: (AllocReaderM m, Key key, Value val) => key -> Tree key val -> m (Maybe val)

    haskey-btree Data.BTree.Impure

    Lookup a value in an impure B+-tree.

  4. lookup :: (AllocReaderM m, Key key, Value val) => key -> Tree key val -> m (Maybe val)

    haskey-btree Data.BTree.Impure.Internal.Lookup

    Lookup a value in an impure B+-tree.

  5. lookup :: Key k => k -> Tree k v -> Maybe v

    haskey-btree Data.BTree.Pure

    Lookup a value in the tree.

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

    listsafe Data.List.Safe

    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"
    

  7. lookup :: Interface (m :: Type -> Type) -> Addr -> m (Maybe Addr)

    network-house Net.ARP_Protocol

    No documentation available.

  8. lookup :: (Eq k, Hashable k, Typeable s, Typeable k, Typeable a) => PredKey s k a -> k -> PredSet s k -> ST s (Maybe a)

    pred-set Data.PredSet.Mutable

    No documentation available.

  9. lookup :: forall s k a . Hashable k => k -> HashMap s k a -> Maybe (Key s k, a)

    refined-containers Data.HashMap.Refined

    If the key is in the map, return the proof of this, and the associated value; otherwise return Nothing.

  10. lookup :: forall s k a . Hashable k => k -> HashMap s k a -> Maybe (Key s k, a)

    refined-containers Data.HashMap.Strict.Refined

    If the key is in the map, return the proof of this, and the associated value; otherwise return Nothing.

Page 25 of many | Previous | Next