HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecontainers-0.7Haskell2010

Data.IntMap.Internal.Debug

  • 2 values
  • Packagecontainers-0.7
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs
valueshowTree :: Show a => IntMap a -> String
#

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

valueshowTreeWith :: Show a => Bool -> Bool -> IntMap a -> String
#

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.