quite right too. The explicit { suppress the implicit layout.
Simon
| -----Original Message-----
| From: Ian Lynagh [mailto:[EMAIL PROTECTED]]
| Sent: 11 December 2001 13:20
| To: [EMAIL PROTECTED]
| Subject: Incorrect parse errors
|
|
|
| Hiyas
|
|
| With the module
|
| {
| main = undefined
| foo = 5
| }
|
| and with the module
|
| module Foo where {
| foo = 5
| bar = 6
| }
|
| I get
|
| tt.hs:4: parse error on input `='
|
|
| Thanks
| Ian
|
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-| haskell-bugs
|
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs