Changes between Initial Version and Version 4 of Ticket #2700


Ignore:
Timestamp:
Oct 27, 2008 4:11:42 PM (5 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2700

    • Property Severity changed from critical to normal
    • Property Component changed from Compiler to Template Haskell
    • Property Test Case changed from to th/T2700
    • Property Difficulty changed from to Unknown
    • Property Milestone changed from to 6.10.1
    • Property Owner set to igloo
    • Property Type changed from bug to merge
  • Ticket #2700 – Description

    initial v4  
    11When I run a Template Haskell-generated tysig declaration through pprint, the associativity for -> comes out incorrectly, e.g.: 
    2  
     2{{{ 
    33sigD (mkName "foo") [t|(Int -> Bool) -> Bool|] 
    4  
     4}}} 
    55renders as: 
    6  
     6{{{ 
    77foo :: GHC.Base.Int -> GHC.Base.Bool -> GHC.Base.Bool 
    8  
     8}}} 
    99(note that it's dropping the parens, associating right instead of left)