Hacker News new | ask | show | jobs
by hpeter 773 days ago
You can enumerate constants. There is syntax to implicitly assign the integer values, just use iota as a value.