#3356: {-# LANGUAGE NoTraditionalRecordSyntax #-} to disable the current record
syntax
---------------------------------+------------------------------------------
Reporter: SamB | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.2.1
Component: Compiler | Version: 6.10.2
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by igloo@…):
commit 742067003bfe91dbde91d1ff2e57c3182dabaa67
{{{
Author: Ian Lynagh <[email protected]>
Date: Mon Sep 26 23:32:04 2011 +0100
Define a TraditionalRecordSyntax extension; fixes #3356
This allows the extension (which is on by default) to be turned off,
which gets us a small step closer to replacing Haskell98 records with
something better.
compiler/main/DynFlags.hs | 4 ++++
compiler/parser/Lexer.x | 6 ++++++
compiler/parser/Parser.y.pp | 7 ++++---
compiler/parser/RdrHsSyn.lhs | 10 ++++++++++
4 files changed, 24 insertions(+), 3 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3356#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs