On Wed, Jul 13, 2016 at 1:35 PM, Manuel Gómez <[email protected]> wrote:

>   foo =
>     case () of
>       _ -> someX
>     { x = False }
>
> Am I alone in my surprise?
>

My own expectation would be that the outdent to the level of "case"
terminated the "case", and that is indeed a syntax error.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users

Reply via email to