[Haskell-cafe] Is there a way to see the equation reduction?

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Apr 1 04:58:36 EDT 2009


Daryoush Mehrtash <dmehrtash at gmail.com> wrote:

> But I am more interested in seeing the expansion and reduction that
> the execution encounters as it lazily evaluates the function.

Have you tried GHood?

    http://www.cs.kent.ac.uk/people/staff/cr3/toolbox/haskell/GHood/

It is a bit like the recently-released Vacuum visualiser for data
structures, except that it also animates the reduction sequence.
(Have a look at some of the online examples - you can view the reduction
steps right there in your web browser.)

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list