
9 Mar
2012
9 Mar
'12
7:24 p.m.
If I want to define a constant set in Python I would do this: class Colors: red = 1 blue=2 ... and then I use them like this: Colors.red, Colors.blue... Can I do something similar in Haskell? thanks