[GHC] #3356: {-# LANGUAGE NoTraditionalRecordSyntax #-} to disable the current record syntax
GHC
cvs-ghc at haskell.org
Fri Sep 16 17:21:35 CEST 2011
#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 simonmar):
I suppose it should do as the name suggests: disallow the syntactic forms
associated with named fields. That is, construction (`C{..}` in
expressions), pattern matching, definition, and update.
The point is to give us back the syntax, so we can use it for something
else.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3356#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list