[GHC] #9793: Some as-patterns could be accepted in pattern synonyms
GHC
ghc-devs at haskell.org
Mon Feb 26 09:39:30 UTC 2018
#9793: Some as-patterns could be accepted in pattern synonyms
-------------------------------------+-------------------------------------
Reporter: cactus | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler (Type | Version: 7.8.3
checker) | Keywords:
Resolution: | PatternSynonyms
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1666
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
See https://github.com/ghc-proposals/ghc-proposals/pull/94, where I
propose loosening the rules for as-patterns.
Perhaps your use-case would strengthen the case. Can you explain it with
code? (You could do so here, and then add a comment to the proposal
thread pointing to it._
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9793#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list