sweet enum repr def