containers-0.7: Assorted concrete container types

Safe Haskell | Safe-Inferred
Language | Haskell2010

Data.IntMap.Internal.Debug

Synopsis

- showTree :: Show a => IntMap a -> String
- showTreeWith :: Show a => Bool -> Bool -> IntMap a -> String

# Documentation

showTree :: Show a => IntMap a -> String Source #

\(O(n \min(n,W))\). Show the tree that implements the map. The tree is shown in a compressed, hanging format.

showTreeWith :: Show a => Bool -> Bool -> IntMap a -> String Source #

\(O(n \min(n,W))\). The expression (``showTreeWith` hang wide map`) shows the tree that implements the map. 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.