[commit: ghc] ghc-new-co: Substantial improvements in RtClosureInspect (4f8d714)
Simon Peyton Jones
simonpj at microsoft.com
Fri May 6 19:09:05 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : ghc-new-co
http://hackage.haskell.org/trac/ghc/changeset/4f8d714962667c219de4e684fe069136a0f78729
>---------------------------------------------------------------
commit 4f8d714962667c219de4e684fe069136a0f78729
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri May 6 15:43:49 2011 +0100
Substantial improvements in RtClosureInspect
The code for constructors in cvReconstrutType and cvObtainTerm
was grotesque. It's now slightly better. And it works with
the new coercion representation.
Apart from being simpler I have also made some small behavioural
improvements
* Improved printing for string values
* Preserve the print-name when instanting type variables
(so now they are not always called "t")
* Suppressed printing of predicate arguments to
data constructors, unless -dppr-debug is on
compiler/ghci/RtClosureInspect.hs | 281 +++++++++++++++++--------------------
1 files changed, 129 insertions(+), 152 deletions(-)
Diff suppressed because of size. To see it, use:
git show 4f8d714962667c219de4e684fe069136a0f78729
More information about the Cvs-ghc
mailing list