We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{}
GHC accepts this file, using EmptyCase with “implicit” braces for:
EmptyCase
{-# LANGUAGE EmptyCase #-} foo b = case b of
With haskell-src-exts, I get
ghci> Language.Haskell.Exts.parseFile "/tmp/Test.hs" ParseFailed (SrcLoc "/tmp/Test.hs" 4 12) "Parse error: ;"
It works if I write
{-# LANGUAGE EmptyCase #-} foo b = case b of {}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
GHC accepts this file, using
EmptyCase
with “implicit” braces for:With haskell-src-exts, I get
It works if I write
The text was updated successfully, but these errors were encountered: