Skip to main content

Transforming Haskell for Tracing

Chitil, Olaf, Runciman, Colin, Wallace, Malcolm (2002) Transforming Haskell for Tracing. In: Ricardo, Peña and Thomas, Arts, eds. Draft papers of 14th International Workshop, IFL 2002, Madrid, Spain, September 16-18, 2002. . (KAR id:13737)

PDF Pre-print
Language: English
Download (238kB) Preview
[thumbnail of transformingDraft.pdf]
This file may not be suitable for users of assistive technology.
Request an accessible format


Hat is a programmer’s tool for generating a trace of a computation

of a Haskell 98 program and viewing such a trace in various

different ways. Applications include program comprehension and debugging.

A new version of Hat uses a stand-alone program transformation to

produce self-tracing Haskell programs. The transformation is small and

works with any Haskell 98 compiler that implements the standard foreign

function interface. We present general techniques for building compiler

independent tools similar to Hat based on program transformation. We

also point out which features of Haskell 98 caused us particular grief.

Item Type: Conference or workshop item (Paper)
Additional information: technical report 127-02, Departamento de Sistemas Informáticos y Programación, Universidad Complutense de Madrid
Uncontrolled keywords: lazy functional language, debugging
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Olaf Chitil
Date Deposited: 24 Nov 2008 17:59 UTC
Last Modified: 16 Feb 2021 12:24 UTC
Resource URI: (The current URI for this page, for reference purposes)
Chitil, Olaf:
  • Depositors only (login required):