Skip to content

Support pattern synonyms in GHCi

Pattern synonyms are not parsed in GHCi:

λ» :set -XPatternSynonyms 
λ» pattern P x = x

<interactive>:5:1: parse error on input ‘pattern’
Trac metadata
Trac field Value
Version 7.8.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related #7253 (closed), #8749 (closed)
Blocking
CC hvr
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information