HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulecontainers-0.8Haskell2010

Data.IntMap.Internal.Debug

  • 2 values
  • Packagecontainers-0.8
  • 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.