@MISC{Sparud95towardsa, author = {Jan Sparud}, title = {Towards a Haskell Debugger}, year = {1995} }
Years of Citing Articles
Bookmark
OpenURL
Abstract
We describe a debugger for the lazy functional language Haskell [Hud92]. The basic idea is to transform a Haskell program into a program that evaluates to the same result as the original program but also produces an evaluation dependence tree describing how the result was obtained. If an error is detected while running the program, the programmer can navigate through the evaluation dependence tree, by pointing and clicking in a graphical user interface, to try to find the erroneous definition. The method is compared to other ways of debugging lazy functional programs. Some ideas of improvements are also presented. 1 Introduction If lazy functional languages are ever to be used by more people than computer scientists, the programming environments for these languages must be comparable to (or better than) the environments that are available for more traditional programming languages. A debugger is an important part of a programming environment. It has been argued that there is no need ...