Displays a tree on the console. This function is curried, takes a printing function as first parameter, and then returns a function taking the root of a tree to display.
a function that displays a single element
Displays a tree on the console. This function is curried, takes a printing function as first parameter, and then returns a function taking the root of a tree to display.