2 ms·
Speaking about sum types, I like the elegance of defining them in F#. type Suit = | Heart | Diamond | Spade | Club
by DeathArrow 2y ago
Speaking about sum types, I like the elegance of defining them in F#.
type Suit =
| Heart
| Diamond
| Spade
| Club