Returns a string describing the tree, on a single line. This function is curried, takes a printing function as first parameter, and then returns a function taking the binary tree to display.
a function that displays a single element
a function displaying a binary tree
Returns a string describing the tree, on a single line. This function is curried, takes a printing function as first parameter, and then returns a function taking the binary tree to display.