Compiler error using IO

Tom Bevan tom@regex.com.au
07 Jan 2002 12:22:09 +1100


On Sat, 2002-01-05 at 05:03, Zhanyong Wan wrote:
> 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
> 
Here here. I think that the poor compiler error messages in Haskell are a 
very major hurdle to learning the language.
I threw in the towel 6 months or so ago basically because I couldn't see
my way through to debugging my programmes.
But here i am back again.  A glutton for punishment.

Tom