X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Futils%2FFiniteMap.lhs;fp=ghc%2Fcompiler%2Futils%2FFiniteMap.lhs;h=d4e49317b08ca67705f38e57b605675df746c46f;hb=f8e67a2c986fe2b1d81c97874d4c9d60cb027642;hp=2346105df983d60ccf79d13bd1168b7c05911827;hpb=58b3e315987e8a422d7e4ba35c47e6a9dc8a84a7;p=ghc-hetmet.git diff --git a/ghc/compiler/utils/FiniteMap.lhs b/ghc/compiler/utils/FiniteMap.lhs index 2346105..d4e4931 100644 --- a/ghc/compiler/utils/FiniteMap.lhs +++ b/ghc/compiler/utils/FiniteMap.lhs @@ -653,6 +653,10 @@ pprX (Branch key elt sz fm_l fm_r) = parens (hcat [pprX fm_l, space, ppr key, space, int (IF_GHC(I# sz, sz)), space, pprX fm_r]) +#else +-- and when not debugging the package itself... +instance (Outputable key, Outputable elt) => Outputable (FiniteMap key elt) where + ppr fm = ppr (fmToList fm) #endif #if 0