igloo at earth.li
Thu Jan 20 12:38:15 CET 2011
On Thu, Jan 20, 2011 at 08:14:29AM +0000, Max Bolingbroke wrote:
> On 20 January 2011 02:47, John Meacham <john at repetae.net> wrote:
> > Allowing this was a specific feature that was included in ghc on
> > purpose (as well as the relaxed if/then layout rule in do statements)
> > So this is definitely a regression.
> Ian split this out in this patch:
> (You can see the tests here:
> However, when he split it out he made sure that it was still turned on
> by default unless the package explicitly requested Haskell 98 or 2010
> compatibility (with -XHaskell98 or -XHaskell2010) - so I'm not sure
> why it should cause breakage. I don't have a HEAD build around so I
> can't find out for myself at the moment.
Yes, it's still on in GHC by default, but Cabal specifies Haskell98 if a
language isn't given in the .cabal file.
network probably wants to give NondecreasingIndentation as an extension
if impl(ghc >= 7.1).
More information about the Glasgow-haskell-users