Re: [Haskell-cafe] ANNOUNCE: pretty-tree

2012-10-26 Thread Levent Erkok
Iavor's pretty-show package is quite handy for these kind of tasks as well. Highly recommended: http://hackage.haskell.org/package/pretty-show Since Iavor package is not tree-centric, it'll probably not generate as nice output as you can for real tree-like-data. However, since it works on arbitrar

Re: [Haskell-cafe] ANNOUNCE: pretty-tree

2012-10-26 Thread Roman Cheplyaka
I think Alfredo meant the link to module's haddock which had not been generated when you sent out the announcement. Roman * Ivan Lazar Miljenovic [2012-10-27 07:37:10+1100] > Which links _aren't_ clickable? If you mean the one to diagrams-contrib, > since it isn't imported I can't link to that m

Re: [Haskell-cafe] ANNOUNCE: pretty-tree

2012-10-26 Thread Ivan Lazar Miljenovic
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. 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 9

Re: [Haskell-cafe] ANNOUNCE: pretty-tree

2012-10-26 Thread Alfredo Di Napoli
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 as well as nice tree visualizations :) Cheers, A. On 26 October 2012 14:58, Ivan Lazar Miljenovic wrote: > For a project I'm workin

[Haskell-cafe] ANNOUNCE: pretty-tree

2012-10-26 Thread Ivan Lazar Miljenovic
For a project I'm working on, I got sick of writing out trees by hand. Data.Tree has a drawTree function, but whilst it's better than nothing, I prefer a more top-down "traditional" approach to drawing trees. So I wrote a package to do just that: http://hackage.haskell.org/package/pretty-tree (I