Leaf represents a a tree node with no children.
Leaf represents a a tree node with no children.
You can use Leaf for tree construction or pattern matching.
Node represents a tree node that may have children.
Node represents a tree node that may have children.
You can use Node for tree construction or pattern matching.