Eggs.TypePatterns is pattern matching for types.