tools for comparing ghc's debug outputs?

Don Stewart dons at
Thu Jul 31 13:34:45 EDT 2008

> >>I seem to recall someone mentioning a tool for normalizing
> >>the output of things like -ddump-simpl to make diffs easier
> >>by reducing irrelevant differences due to gensym-generated
> >>names. Was that just wishful thinking, or does such a thing exist?-)
> >
> >I would also find such a tool very useful, but to the best of my
> >knowledge there's nothing out there yet.
> Surprising - how do all of you optimization tuners manage without?

I use the ghc-core tool, and occasionally piping code into vimdiff,
particularly for assembly.

More information about the Glasgow-haskell-users mailing list