Compiler error using IO
Zhanyong Wan
zhanyong.wan@yale.edu
Fri, 4 Jan 2002 13:03:24 -0500
Hi,
Ashley Yakeley wrote:
| The "layout" rules drive me nuts. You might prefer using parentheses and
| semicolons, as I do:
I guess the point behind the layout rules is that anything violating such
rules is considered bad programming style. I agree that Haskell
compilers/interpreters should give more helpful error messages though (e.g.
adding something like "Do you mean to align 'foo' with 'bar'?").
- Zhanyong