[Haskell-cafe] Haskell grammar ambiguity

Askar Safin safinaskar at mail.ru
Wed Jun 16 14:38:37 UTC 2021


> Entirely agreed.  The additional difficulty in parsing means that
> BlockArguments provides *negative* value to me, even if I don't enable
> it:
> 
> http://h2.jaguarpaw.co.uk/posts/unhelpful-ghc-error-messages/
I agree. I always use curly braces with "do" and "case", i. e.:
do {
  ...;
  ...;
}

==
Askar Safin
http://safinaskar.com
https://sr.ht/~safinaskar
https://github.com/safinaskar


More information about the Haskell-Cafe mailing list