
10 Sep
2013
10 Sep
'13
5:34 p.m.
I only see two uses of printf in ghc:
ghc/InteractiveUI.hs: let nums = map (printf "-%-3d:") [(1::Int)..] compiler/utils/Outputable.lhs: ppr (Fingerprint w1 w2) = text (printf "%016x%016x" w1 w2)
So it seems easy to replace that with some hand-written formatting.
Oh, there are also a bunch of references in libraries/. But it looks like mostly tests for bytestring and dph, so still not too bad.