[GHC] #12459: UnboxedTuple makes overloaded labels fail to parse

GHC ghc-devs at haskell.org
Tue Aug 30 02:04:55 UTC 2016


#12459: UnboxedTuple makes overloaded labels fail to parse
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
  (Parser)                           |
      Resolution:                    |             Keywords:  orf
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 I bumped into this because I have `UnboxedTuples` enabled in my ''.ghci''
 but in a future where `OverloadedLabels` are ubiquitous a user cannot use
 unboxed tuples without modifying every parenthesised label in the module
 first: potentially resulting in large diffs, potentially going against the
 style of the project (or style guide).

 Not a huge concern but definitely raises an eyebrow

 ----

 This could of course be ameliorated by ''local'' language pragmas ;) think
 about it (local `Strict`, `RebindableSyntax`)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12459#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list