
On 21/01/2011 13:12, Ian Lynagh wrote:
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?
Sorry, I'm confused. We don't seem to have any docs for NondecreasingIndentation, do we? So was the code that broke using Haskell2010 or Haskell98? Cheers, Simon