Incorrect syntax errors

Ian Lynagh igloo@earth.li
Tue, 11 Dec 2001 14:14:56 +0000


On Tue, Dec 11, 2001 at 01:17:07PM +0000, Ian Lynagh wrote:
> 
>     {
>      foo = 5
>     }
> 
>     ERROR tt.hs:2 - Syntax error in input (unexpected `{', possibly due
>                     to bad layout)

I still think this is an error.

>     module Foo where {
>      foo = 5
>      bar = 6
>     }
> 
>     ERROR tt.hs:4 - Syntax error in definition (unexpected `=')

But this isn't as discussed elsewhere.


Thanks
Ian