TreeDraw
Description
Primarily intended for debugging.
draw :: (a -> String) -> (a -> [(Maybe String, a)]) -> a -> String Source #
Draws a tree. Like Data.Tree.drawTree but works with any type, can show edge labels and uses unicode box characters. Example: a ├── 1 ── b ├── 2 ── c │ ├── d │ └── e └── 3 ── f