How to create type safe enums? How to create type safe enums? c c