<p>Which links _aren't_ clickable? If you mean the one to diagrams-contrib, since it isn't imported I can't link to that module directly.</p>
<p>One thing I just realised: compared to drawTrees, drawVerticalTree reverses the direction of sub-trees (in that it isn't just equivalent to rotating it clockwise 90 degrees); I'll rectify this when I get to my computer later.</p>
<div class="gmail_quote">On Oct 27, 2012 12:06 AM, "Alfredo Di Napoli" <<a href="mailto:alfredo.dinapoli@gmail.com">alfredo.dinapoli@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The idea is pretty good, although I suggest you make clickable the Haddock's link to modules, because I had to navigate the source in order to find some application<div>as well as nice tree visualizations :)</div><div>
<br></div><div>Cheers,</div><div>A.<br><br><div class="gmail_quote">On 26 October 2012 14:58, Ivan Lazar Miljenovic <span dir="ltr"><<a href="mailto:ivan.miljenovic@gmail.com" target="_blank">ivan.miljenovic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For a project I'm working on, I got sick of writing out trees by hand.<br>
Data.Tree has a drawTree function, but whilst it's better than<br>
nothing, I prefer a more top-down "traditional" approach to drawing<br>
trees.<br>
<br>
So I wrote a package to do just that:<br>
<a href="http://hackage.haskell.org/package/pretty-tree" target="_blank">http://hackage.haskell.org/package/pretty-tree</a><br>
<br>
(I didn't think to check whether diagrams had capabilities to do so<br>
until after I finished, though in this case I prefer a textual<br>
approach anyway.)<br>
<br>
I'm more than happy to consider adding other forms of drawing trees<br>
(though off-hand I can't think of any), or of course you can send me<br>
patches since I'm taking advantage of the nice new shiny <a href="http://hub.darcs.net" target="_blank">hub.darcs.net</a><br>
(thanks Darcs team!).<br>
<br>
I was going to put an example here but it only really comes out nicely<br>
if you're using a monospaced font, so have a look at the Haddock docs<br>
for the module once Hackage builds it (in hindsight, I should probably<br>
have come up with better labels before releasing the package... oh<br>
well :)<br>
<span><font color="#888888"><br>
--<br>
Ivan Lazar Miljenovic<br>
<a href="mailto:Ivan.Miljenovic@gmail.com" target="_blank">Ivan.Miljenovic@gmail.com</a><br>
<a href="http://IvanMiljenovic.wordpress.com" target="_blank">http://IvanMiljenovic.wordpress.com</a><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>
</font></span></blockquote></div><br></div>
</blockquote></div>