Hoogle Search

Within LTS Haskell 24.18 (ghc-9.10.3)

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

  1. showTreeWith :: (k -> a -> String) -> Bool -> Bool -> Map k a -> String

    containers Data.Map.Internal.Debug

    The expression (showTreeWith showelem hang wide map) shows the tree that implements the map. Elements are shown using the showElem function. If hang is True, a hanging tree is shown otherwise a rotated tree is shown. If wide is True, an extra wide version is shown.

    Map> let t = fromDistinctAscList [(x,()) | x <- [1..5]]
    Map> putStrLn $ showTreeWith (\k x -> show (k,x)) True False t
    (4,())
    +--(2,())
    |  +--(1,())
    |  +--(3,())
    +--(5,())
    
    Map> putStrLn $ showTreeWith (\k x -> show (k,x)) True True t
    (4,())
    |
    +--(2,())
    |  |
    |  +--(1,())
    |  |
    |  +--(3,())
    |
    +--(5,())
    
    Map> putStrLn $ showTreeWith (\k x -> show (k,x)) False True t
    +--(5,())
    |
    (4,())
    |
    |  +--(3,())
    |  |
    +--(2,())
    |
    +--(1,())
    

  2. showWide :: Bool -> [String] -> String -> String

    containers Data.Map.Internal.Debug

    No documentation available.

  3. showsBars :: [String] -> ShowS

    containers Data.Map.Internal.Debug

    No documentation available.

  4. showsTree :: (k -> a -> String) -> Bool -> [String] -> [String] -> Map k a -> ShowS

    containers Data.Map.Internal.Debug

    No documentation available.

  5. showsTreeHang :: (k -> a -> String) -> Bool -> [String] -> Map k a -> ShowS

    containers Data.Map.Internal.Debug

    No documentation available.

  6. showTree :: Whoops "showTree has moved to Data.Map.Internal.Debug.showTree." => Map k a -> String

    containers Data.Map.Lazy

    This function has moved to showTree.

  7. showTreeWith :: Whoops "showTreeWith has moved to Data.Map.Internal.Debug.showTreeWith." => (k -> a -> String) -> Bool -> Bool -> Map k a -> String

    containers Data.Map.Lazy

    This function has moved to showTreeWith.

  8. showTree :: Whoops "showTree has moved to Data.Map.Internal.Debug.showTree." => Map k a -> String

    containers Data.Map.Strict

    This function has moved to showTree.

  9. showTreeWith :: Whoops "showTreeWith has moved to Data.Map.Internal.Debug.showTreeWith." => (k -> a -> String) -> Bool -> Bool -> Map k a -> String

    containers Data.Map.Strict

    This function has moved to showTreeWith.

  10. showTree :: Whoops "showTree has moved to Data.Map.Internal.Debug.showTree." => Map k a -> String

    containers Data.Map.Strict.Internal

    This function has moved to showTree.

Page 22 of many | Previous | Next