[Haskell-cafe] Looking at program execution

Brent Yorgey byorgey at gmail.com
Thu Aug 16 20:42:28 EDT 2007


On 8/16/07, Ian Duncan <iand675 at gmail.com> wrote:
>
> Is there any way to view the steps that a haskell program goes
> through step by step?
> I'm thinking something similar to what I've seen in things I've been
> reading. For example:
> foldl (+) 0 [1..10]
> => (0+1)
> => ((0+1)+2)
> => (((0+1)+2)+3)
> => etc.
> I've seen these sorts of line-by-line execution steps, but I was
> curious if there was any way to simply type in a function and its
> arguments and have ghci or hugs or something print out this sort of
> visual representation of what's going on. Anyone know of something
> like this?


You probably want to check out Hat: http://www.haskell.org/hat/
I've only used it a bit myself but I think it provides some of the features
you're looking for.

-Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070816/c06bab9f/attachment.htm


More information about the Haskell-Cafe mailing list