(text tree) - Lightweight text generation

Library (text tree)

Defines simple but commonly used functions for a text construction.

This library is ported from Gauche.

Generic write-tree tree :optional out

Write out an tree as a tree of text, to the output port out. If the out is omitted, then current output port is used.

Function tree->string tree

Just calls the write-tree method for _tree] using an output string port, and returns the result string. _