Match a TreeF to leaves and branches.
TreeF
The underlying type of the tree. For example, in a numeric tree it would be number.
number
The child node type, also called the carrier type.
The result type of the given functions.
Match a
TreeFto leaves and branches.