Pattern synonym does not work in top-level pattern bind
When I say
{-# LANGUAGE PatternSynonyms #-}
pattern Id x = x
Id x = True
I get
Not in scope: data constructor ‘Id’
This happens with both 7.8.3 and HEAD.
Edited by Gergő Érdi
Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template
When I say
{-# LANGUAGE PatternSynonyms #-}
pattern Id x = x
Id x = True
I get
Not in scope: data constructor ‘Id’
This happens with both 7.8.3 and HEAD.