Ian Lynagh <igloo <at> earth.li> writes:
> 
>    =============================================================
>     The (Interactive) Glasgow Haskell Compiler -- version 7.2.1
>    =============================================================
> 
Ticket #3356 claims that {-# LANGUAGE NoTraditionalRecordSyntax #-} was 
implemented in 7.2.1.

But GHCi v7.2.1 complains "Unsupported extension: NoTraditionalRecordSyntax".

What (if anything) actually got implemented?

I ask because I'd like to raise a ticket for 
http://hackage.haskell.org/trac/ghc/wiki/Records/DeclaredOverloadedRecordFields
/NoMonoRecordFields -- that is, to enable declaring within the same module 
multiple record types with the same field name.

Of course it will also help when declaring the same field name in different 
(but imported) modules.

Avoiding generating the (monomorphic) field selector function goes a little 
way towards freeing up the namespace, without in any way pre-judging how 
the 'narrow namespace issue' might get addressed.

AntC


_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to