Incorrect syntax errors

Ian Lynagh igloo@earth.li
Tue, 11 Dec 2001 13:17:07 +0000


Hi guys,


With the module

    {
     foo = 5
    }

I get

    ERROR tt.hs:2 - Syntax error in input (unexpected `{', possibly due
                    to bad layout)


and with the module

    module Foo where {
     foo = 5
     bar = 6
    }

    ERROR tt.hs:4 - Syntax error in definition (unexpected `=')


Thanks
Ian