Hoogle Search

Within LTS Haskell 24.12 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. lookupUE :: NamedThing n => UsageEnv -> n -> Usage

    ghc GHC.Core.UsageEnv

    |lookupUE x env| returns the multiplicity assigned to |x| in |env|, if |x| is not bound in |env|, then returns |Zero| or |Bottom|.

  2. lookupBag :: Eq a => a -> Bag (a, b) -> Maybe b

    ghc GHC.Data.Bag

    No documentation available.

  3. lookupDFsEnv :: DFastStringEnv a -> FastString -> Maybe a

    ghc GHC.Data.FastString.Env

    No documentation available.

  4. lookupFsEnv :: FastStringEnv a -> FastString -> Maybe a

    ghc GHC.Data.FastString.Env

    No documentation available.

  5. lookupFsEnv_NF :: FastStringEnv a -> FastString -> a

    ghc GHC.Data.FastString.Env

    No documentation available.

  6. lookupNode :: Uniquable k => Graph k cls color -> k -> Maybe (Node k cls color)

    ghc GHC.Data.Graph.Ops

    Lookup a node from the graph.

  7. lookupTM :: TrieMap m => Key m -> m b -> Maybe b

    ghc GHC.Data.TrieMap

    No documentation available.

  8. lookupGE :: Key -> Word64Map a -> Maybe (Key, a)

    ghc GHC.Data.Word64Map.Internal

    Find smallest key greater or equal to the given one and return the corresponding (key, value) pair.

    lookupGE 3 (fromList [(3,'a'), (5,'b')]) == Just (3, 'a')
    lookupGE 4 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b')
    lookupGE 6 (fromList [(3,'a'), (5,'b')]) == Nothing
    

  9. lookupGT :: Key -> Word64Map a -> Maybe (Key, a)

    ghc GHC.Data.Word64Map.Internal

    Find smallest key greater than the given one and return the corresponding (key, value) pair.

    lookupGT 4 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b')
    lookupGT 5 (fromList [(3,'a'), (5,'b')]) == Nothing
    

  10. lookupLE :: Key -> Word64Map a -> Maybe (Key, a)

    ghc GHC.Data.Word64Map.Internal

    Find largest key smaller or equal to the given one and return the corresponding (key, value) pair.

    lookupLE 2 (fromList [(3,'a'), (5,'b')]) == Nothing
    lookupLE 4 (fromList [(3,'a'), (5,'b')]) == Just (3, 'a')
    lookupLE 5 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b')
    

Page 44 of many | Previous | Next