[Haskell-cafe] Re: how do you debug programs?

Ketil Malde ketil+haskell at ii.uib.no
Wed Sep 6 10:09:15 EDT 2006

Tamas K Papp <tpapp at Princeton.EDU> writes:

> Most of the mistakes I make are related to indentation, 

I use Emacs, which has a reasonably decent mode for this.  Hit TAB
repeatedly to show the possible indentations.

> precedence (need to remember that function application binds
> tightly).

It's not always intuitive, but at least there is a fixed rule that's
easy to remember.

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list