I want a datatype to represent a finite set of integers that can be addressed by specific names. I figure the best way to do that is to use an Enum.
However, there is o
data MyDataType = Foo | Bar | Baz deriving (Enum)