Applied alternative pattern matching encoded directly into definition