Comparing enum cases while ignoring associated values

Relevant discussion regarding enum ergonomics: Automatically derive properties for enum cases - #5 by stephencelis