HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

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.