GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T18:34:12Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/10747Infix pattern synonyms fail to parse (regression)2019-07-07T18:34:12ZGabor GreifInfix pattern synonyms fail to parse (regression)```hs
{-# LANGUAGE PatternSynonyms #-}
pattern head `Cons` tail = head : tail
```
In v7.10 I get:
```
[1 of 1] Compiling Main ( pat.hs, interpreted )
pat.hs:2:14: parse error on input ?`?
```
In v7.8 I get:
```
[1 of 1]...```hs
{-# LANGUAGE PatternSynonyms #-}
pattern head `Cons` tail = head : tail
```
In v7.10 I get:
```
[1 of 1] Compiling Main ( pat.hs, interpreted )
pat.hs:2:14: parse error on input ?`?
```
In v7.8 I get:
```
[1 of 1] Compiling Main ( ph.hs, interpreted )
Ok, modules loaded: Main.
*Main> :set -XPatternSynonyms
*Main> let h `Cons` t = "ht"
*Main> h
'h'
*Main> t
"t"
```7.10.3Matthew PickeringMatthew Pickering