• Simon Peyton Jones's avatar
    Improve output from -ddump-types · 321bc1a6
    Simon Peyton Jones authored
    This patch makes a number of improvements to the output
    generated by -ddump-types
    
    * Prints data constructor separately
    * Omits empty chunks of output
    
    I was driven initially by the unhelpful existing output for
    data constructors, but ended up doing some refactoring.
    
    Lots of error message wibbles, but nothing significant.
    Certainly no change in user behaviour.
    
    (NB: It is just possible that I have failed to cleanly
         separate this patch from the next one, about
         isPredTy and friends.)
    321bc1a6
TcRnDriver.hs 119 KB