Match a Tree to leaves and branches.
Underlying tree type.
A record with the keys onLeaf and onBranch.
onLeaf
onBranch
Result of the match.
Match a Tree to leaves and branches.