Indent rules
foo = case ((), ()) of ( () , () ) -> ()
exempted
foo = case ((), ()) of { ( () ; , () ) -> () }
which is a case with two branches, the first of which is a syntax error.
Instead, I recommend the following style:
foo = case ((), ()) of (( () , () )) -> ()
or even (not very elegant though)
foo = case ((), ()) of _@ ( () , () ) -> ()
source share