how to debug?

D.Wakeling@exeter.ac.uk D.Wakeling@exeter.ac.uk
Sun, 6 Oct 2002 08:26:04 +0100 (BST)


David Roundy <droundy@jdj5.mit.edu> writes:

> How does one debug in haskell? I have a function that I could swear should
> behave differently than it does, and after tracking down bugs for many
> hours, I'm wondering if there's any way to step through the evaluation of a
> haskell function?

The best place to start would be with the nhc98 compiler and the Hat
tracing system developed by the Functional Programming Group at the
University of York. See

http://www.cs.york.ac.uk/fp/nhc98

David
-------------------------------------------------------------------------------
Dr. David Wakeling, School of Engineering and Computer Science 
Harrison Building, University of Exeter, Exeter, Devon, EX4 4QF. 
unofficial web page: http://www.dcs.ex.ac.uk/~dwakelin
-------------------------------------------------------------------------------