backward compatibility

Ian Lynagh igloo at earth.li
Fri Jan 21 14:12:24 CET 2011


On Fri, Jan 21, 2011 at 10:18:57AM +0000, Simon Marlow wrote:
> On 20/01/2011 20:22, Axel Simon wrote:
>
>> So, again, for this particular "extension" I suggest that the layout
>> rule in the standard(s) should be revised -- if I'm mistaken, this will
>> not break other programs.
>
> You've convinced me.  The benefit from "fixing" GHC in this case is  
> outweighed by the cost, I think we should revert the change (or at least  
> enable RelaxedLayout by default), and propose the change for Haskell  
> 2011/2012.  Ian, Simon, what do you think?

You mean NondecreasingIndentation, right? (RelaxedLayout only makes a
difference with explicit braces).

NondecreasingIndentation is already on by default; are you suggesting we
also add it to Haskell98 and Haskell2010?


Thanks
Ian




More information about the Glasgow-haskell-users mailing list