[GHC] #11367: [Regression] Only one clause allowed in (explicitly bidirectional) pattern synonyms
GHC
ghc-devs at haskell.org
Thu Jan 7 15:24:01 UTC 2016
#11367: [Regression] Only one clause allowed in (explicitly bidirectional) pattern
synonyms
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
| PatternSynonyms
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 mpickering):
I think this reply is a mixture of a new ticket, #393 and some more
context for this ticket.
> Could you not view a where clause in a pattern synonym as containing
zero bindings (unidirectional) or a single binding (explicitly
bidirectional).
Yes you could, without looking I think this would require quite a bit of
refactoring because of how everything is dealt with in the parser.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11367#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list