Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
lock1
2mo ago
0 comments
Share
I'm curious, if tagged unions are a subset of sum type, what is your definition of "sum type"?
AFAIK, tagged union
is
sum type, based on sum type mathematical definition.
0 comments
default
newest
oldest
9rx
2mo ago
On second thought, I agree with your definition. So Go does, in fact, have tagged unions.
j
/
k
navigate · click thread line to collapse