Pattern matching with "is"