Today I made a module for printing trees in a readable fashion. The output looks like the output of the tree command:

It works on any data structure that supports get_name and get_children functions and depends on nothing else than the OCaml standard library.
I’m releasing it into the Public Domain in the hope others find it useful. Anyone is welcome to include it in their projects or turn it into a proper open-source project that they maintain.
