<br><div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername">Ian Duncan</b> &lt;<a href="mailto:iand675@gmail.com">iand675@gmail.com</a>&gt; 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&#39;m thinking something similar to what I&#39;ve seen in things I&#39;ve been<br>reading. For example:<br>foldl (+) 0 [1..10]<br>
=&gt; (0+1)<br>=&gt; ((0+1)+2)<br>=&gt; (((0+1)+2)+3)<br>=&gt; etc.<br>I&#39;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&#39;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&#39;ve only used it a bit myself but I think it provides some of the features you&#39;re looking for.
<br><br>-Brent<br></div><br></div>