<br><div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername">Ian Duncan</b> <<a href="mailto:iand675@gmail.com">iand675@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any way to view the steps that a haskell program goes<br>through step by step?<br>I'm thinking something similar to what I've seen in things I've been<br>reading. For example:<br>foldl (+) 0 [1..10]<br>
=> (0+1)<br>=> ((0+1)+2)<br>=> (((0+1)+2)+3)<br>=> etc.<br>I've seen these sorts of line-by-line execution steps, but I was<br>curious if there was any way to simply type in a function and its<br>arguments and have ghci or hugs or something print out this sort of
<br>visual representation of what's going on. Anyone know of something<br>like this?</blockquote><div><br>You probably want to check out Hat: <a href="http://www.haskell.org/hat/">http://www.haskell.org/hat/</a><br>I've only used it a bit myself but I think it provides some of the features you're looking for.
<br><br>-Brent<br></div><br></div>