[GHC] #8185: Change role annotation syntax
GHC
ghc-devs at haskell.org
Tue Aug 27 20:36:26 UTC 2013
#8185: Change role annotation syntax
----------------------------+----------------------------------------------
Reporter: | Owner: goldfire
goldfire | Status: new
Type: feature | Milestone: 7.8.1
request | Version: 7.7
Priority: normal | Keywords:
Component: | Architecture: Unknown/Multiple
Compiler | Difficulty: Moderate (less than a day)
Resolution: | Blocked By:
Operating System: | Related Tickets:
Unknown/Multiple |
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
----------------------------+----------------------------------------------
Comment (by rwbarton):
Sorry for last-minute bikeshedding but don't GHC pragmas usually precede
the thing they attach to, when there may be ambiguity? E.g. consider
{{{
data X = X !Int {-# UNPACK #-} !Int
data Foo a {-# ROLE Nominal #-} b = ...
}}}
I know `data Foo {-# ROLE Nominal #-} a = ...` is ugly but...
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8185#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list