Hacker News new | ask | show | jobs
by j16sdiz 844 days ago
I can't really think how this could be done.

Other languages either substitute enum with primitive type, string, or use strong type system tricks.

Go do duck typing, .. so..