[GHC] #8673: GHC could generate GADT record selectors in more cases
GHC
ghc-devs at haskell.org
Sat May 17 19:07:18 UTC 2014
#8673: GHC could generate GADT record selectors in more cases
-------------------------------------+------------------------------------
Reporter: simonpj | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by br1):
I just also hit this limitation, but I'm not sure if my case was included
in the cases already discussed. I want to do something like:
{{{#!haskell
data Bar a where
B1 :: { x :: Int } -> Bar Int
B2 :: { x :: Char } -> Bar Char
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8673#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list