Changes between Version 2 and Version 3 of AlternativeLayoutRule


Ignore:
Timestamp:
Mar 2, 2010 11:23:13 PM (4 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AlternativeLayoutRule

    v2 v3  
    3636}}} 
    3737 
    38 This needs to be resolved before we can proceed. 
     38This has been fixed in the GHC code. 
    3939 
    4040Additionally, there has been some discussion as to how the rule should behave exactly. In particular, some people believe that it would be better to keep the rule simple by not doing anything with commas, at the cost of rejecting more H98 code. It would be possible to transition to this, by issuing a warning if the new comma rules are needed. 
     41 
     42Another GHC flag, `-XAlternativeLayoutRuleTransitional`, accepts more H98 programs, but warns when it does so. 
    4143 
    4244Some differences between the H98 and this rule are exercised by tests in the `layout` section of GHC's testsuite.