Pattern matches over the structure, applying specific handlers for each variant
The result of applying the appropriate function
Pattern matches over the Map, applying a handler function based on whether it's empty
The result of applying the matching handler function
A traversable interface for map that excludes map and flatMap operations