Re:Union types ('enum types') would be complicated in Go
by foldr on Tuesday December 10, 2024 @04:19AM
(#42375189)
Nobody cares about the categorical properties of the coproduct. But in any case, there's no theoretical issue here, since it would be just as if every enum had a 'Nil' variant implicitly defined.
[ Parent
| on HN ]
There are no comments on this comment yet.