Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
containers Data.IntMap.Strict.Internal -
containers Data.IntMap.Strict.Internal showTreeWith has moved to showTreeWith
-
containers Data.IntSet Show the tree that implements the set. The tree is shown in a compressed, hanging format.
showTreeWith :: Bool -> Bool -> IntSet -> Stringcontainers Data.IntSet The expression (showTreeWith hang wide map) shows the tree that implements the set. 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.
-
containers Data.IntSet.Internal Show the tree that implements the set. The tree is shown in a compressed, hanging format.
showTreeWith :: Bool -> Bool -> IntSet -> Stringcontainers Data.IntSet.Internal The expression (showTreeWith hang wide map) shows the tree that implements the set. 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.
showTree :: (Show k, Show a) => Map k a -> Stringcontainers Data.Map.Internal.Debug Show the tree that implements the map. The tree is shown in a compressed, hanging format. See showTreeWith.
showTreeWith :: (k -> a -> String) -> Bool -> Bool -> Map k a -> Stringcontainers 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,())
showWide :: Bool -> [String] -> String -> Stringcontainers Data.Map.Internal.Debug No documentation available.
showsBars :: [String] -> ShowScontainers Data.Map.Internal.Debug No documentation available.