Modularise pretty-printing for foralls
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 6 May 2014 07:19:01 +0000 (08:19 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 6 May 2014 07:19:01 +0000 (08:19 +0100)
commit3c3ce829b64a9b5cc509db19d5d1acf44a565053
treecfe4a898c43c3cd0ce7cbf8c5a5a1f89954316fc
parent675c5478793ac8cede5daca4f70cd09846879837
Modularise pretty-printing for foralls

See TypeRep.pprUserForAll.  This just makes forall-printing a bit more
consistent.  In particular, I wasn't seeing the kind foralls when
displaying a CoAxiom or CoAxBranch

The output on T7939 is just possible a bit too verbose now, but even if so
that's an error in the right direction.
compiler/main/PprTyThing.hs
compiler/types/Coercion.lhs
compiler/types/Type.lhs
compiler/types/TypeRep.lhs
testsuite/tests/ghci/scripts/T7939.stdout