summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2018-03-21 17:21:15 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2018-03-21 17:34:52 +0000
commit411a97e2c0083529b4259d0cad8f453bae110dee (patch)
treec84731b7c3bb2513910da88a2e782edd6dcce5c9 /compiler/codeGen
parent49ac3f0f2a13f66fea31a258fa98b0de39bfbf10 (diff)
downloadhaskell-411a97e2c0083529b4259d0cad8f453bae110dee.tar.gz
Allow as-patterns in unidirectional patttern synonyms
This patch implements GHC Proposal #94, described here https://github.com/ghc-proposals/ghc-proposals/pull/94 The effect is simply to lift a totally-undocumented restriction to unidirecional pattern synonyms, namely that they can't have as-patterns or n+k patterns. The fix is easy: just remove the checks. I also took the opportunity to improve the manual entry for the semantics of pattern matching for pattern synonyms.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions