[GHC] #8968: Pattern synonyms and GADTs
GHC
ghc-devs at haskell.org
Tue Apr 8 13:10:44 UTC 2014
#8968: Pattern synonyms and GADTs
----------------------------------------------+----------------------------
Reporter: kosmikus | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type checker) | Version:
Resolution: | 7.8.1-rc2
Operating System: Unknown/Multiple | Keywords:
Type of failure: GHC rejects valid program | Architecture:
Test Case: | Unknown/Multiple
Blocking: | Difficulty: Unknown
| Blocked By:
| Related Tickets:
----------------------------------------------+----------------------------
Comment (by kosmikus):
FWIW, I was assuming the problem that SPJ describes is the underlying
problem here. I don't know the implementation, but I find it entirely
reasonable that pattern synonyms for GADTs will in general require type
signatures in order to disambiguate between incomparable types. That's why
I started talking about type signatures for pattern synonyms in the first
place.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8968#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list