Re:What Is Good About Haskell?
by hope-striker on Thursday October 03, 2019 @03:44PM
(#21151247)
They enumerate a finite set of disjoint cases, so in some sense they are an enumeration. But the real reason is, of course, that sum types can be seen a generalization of C enums, so the syntax was chosen to maximize familiarity.
[ Parent
| on HN ]