Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. adjustWithKey :: (Key -> a -> a) -> Key -> Word64Map a -> Word64Map a

    ghc GHC.Data.Word64Map.Strict

    Adjust a value at a specific key. When the key is not a member of the map, the original map is returned.

    let f key x = (show key) ++ ":new " ++ x
    adjustWithKey f 5 (fromList [(5,"a"), (3,"b")]) == fromList [(3, "b"), (5, "5:new a")]
    adjustWithKey f 7 (fromList [(5,"a"), (3,"b")]) == fromList [(3, "b"), (5, "a")]
    adjustWithKey f 7 empty                         == empty
    

  2. adjust :: (a -> a) -> Key -> Word64Map a -> Word64Map a

    ghc GHC.Data.Word64Map.Strict.Internal

    Adjust a value at a specific key. When the key is not a member of the map, the original map is returned.

    adjust ("new " ++) 5 (fromList [(5,"a"), (3,"b")]) == fromList [(3, "b"), (5, "new a")]
    adjust ("new " ++) 7 (fromList [(5,"a"), (3,"b")]) == fromList [(3, "b"), (5, "a")]
    adjust ("new " ++) 7 empty                         == empty
    

  3. adjustWithKey :: (Key -> a -> a) -> Key -> Word64Map a -> Word64Map a

    ghc GHC.Data.Word64Map.Strict.Internal

    Adjust a value at a specific key. When the key is not a member of the map, the original map is returned.

    let f key x = (show key) ++ ":new " ++ x
    adjustWithKey f 5 (fromList [(5,"a"), (3,"b")]) == fromList [(3, "b"), (5, "5:new a")]
    adjustWithKey f 7 (fromList [(5,"a"), (3,"b")]) == fromList [(3, "b"), (5, "a")]
    adjustWithKey f 7 empty                         == empty
    

  4. adjustMatchResultDs :: (a -> DsM b) -> MatchResult a -> MatchResult b

    ghc GHC.HsToCore.Utils

    No documentation available.

  5. adjustChar :: Char -> Word8

    ghc GHC.Parser.Lexer

    No documentation available.

  6. alr_justClosedExplicitLetBlock :: PState -> Bool

    ghc GHC.Parser.Lexer

    No documentation available.

  7. adjustHpBackwards :: FCode ()

    ghc GHC.StgToCmm.Layout

    No documentation available.

  8. adjustCtLoc :: Bool -> Bool -> CtLoc -> CtLoc

    ghc GHC.Tc.Types.Constraint

    No documentation available.

  9. adjustCtLocTyConBinder :: TyConBinder -> CtLoc -> CtLoc

    ghc GHC.Tc.Types.Constraint

    No documentation available.

  10. adjustDNameEnv :: (a -> a) -> DNameEnv a -> Name -> DNameEnv a

    ghc GHC.Types.Name.Env

    No documentation available.

Page 36 of many | Previous | Next