ANNOUNCE: GHC version 7.2.1 - {-#LANGUAGE NoTraditionalRecordSyntax#-}
AntC
anthony_clayden at clear.net.nz
Wed Mar 28 00:13:44 CEST 2012
Simon Peyton-Jones <simonpj <at> microsoft.com> writes:
>
> ghci -XNoTraditionalRecordSyntax does not complain of unsupported extensions
for me.
OK, it's effective in v7.4.1, as Ian says.
>
> The flag appears to just disable record construction and update syntax, and
> record patterns, and record syntax in GADT declarations.
For the record(!) it also suppresses record syntax in ordinary data
declarations. So it 'solves' the namespacing issue by not allowing field names
at all.
No curly brackets, no field names nowhere! Everything has to be positional.
> It has probably never been used.
>
Yes, the pruning is _too_ radical, the tree withered away.
AntC
More information about the Glasgow-haskell-users
mailing list