Incorrect parse errors
Simon Peyton-Jones
simonpj at microsoft.com
Tue Dec 11 09:10:11 EST 2001
quite right too. The explicit { suppress the implicit layout.
Simon
| -----Original Message-----
| From: Ian Lynagh [mailto:igloo at earth.li]
| Sent: 11 December 2001 13:20
| To: glasgow-haskell-bugs at haskell.org
| 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
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-| haskell-bugs
|
More information about the Glasgow-haskell-bugs
mailing list