In fact, Hood is just the module Debug.Observe.<div>GHood just extends Debug.Observe with some more constructs to handle visualizations, for instance, it adds a temporal dimension to observations.</div><div>This means that you can use the GHood cabal package nonetheless, and be able to use both GHood graphically or textually (the features of Hood). GHood gives you both.</div>
<div><br></div><div>Whenever you use runO, it will call the Java applet with the graphical visualization but still output the textual trace from Hood.</div><div><br></div><div>As an example, just import Debug.Observe (the GHood one), run ghci and type</div>
<div><br></div><div>&gt; runO $ print $ (length . observe &quot;List Int&quot; .concat) [[1,2],[3,4]]</div><div><br></div><div>I suggest you install the cabal package and try the sample module form the Hood homepage:</div>
<div><a href="http://www.haskell.org/hood/downloads/Main.hs">http://www.haskell.org/hood/downloads/Main.hs</a><br></div><div><br></div><div>Feel free to ask for anything.</div><div>Cheers,</div><div>hugo</div><div><br><div class="gmail_quote">
On Sat, Dec 6, 2008 at 9:59 PM, Simon Michael <span dir="ltr">&lt;<a href="mailto:simon@joyful.com">simon@joyful.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hugo Pacheco wrote:<br>
&gt; The library also features the visualization of the intermediate data<br>
&gt; structure of hylomorphisms with GHood.<br>
<br>
I hadn&#39;t come across GHood and Hood before, and they look quite a useful addition to the toolbox.<br>
<br>
<a href="http://www.haskell.org/hood" target="_blank">http://www.haskell.org/hood</a> says &quot;The current released version of HOOD is the July 2000 release, but there is also a patch to all HOOD to work with GHC 5.00.&quot;. The Observe.lhs there doesn&#39;t immediately work with current GHC. Has anyone got an updated version, or is this available in some more recent library or package ?<br>

<br>
Or, I may have misunderstood, and Debug.Trace may do everything that Hood did. Still, a working Hood would be useful to get the nice visualisations of GHood.<br>
<br>
Thanks - Simon<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.di.uminho.pt/~hpacheco">www.di.uminho.pt/~hpacheco</a><br>
</div>