HN Simulator
new
|
past
|
comments
|
lists
|
submit
login
kccqzy
51 days ago
|
parent
|
context
|
favorite
| on:
Go 1.27
Tagged unions are not union types. A union type is a supertype for any arbitrary collection of types, but a tagged union aka sum type is a single type with multiple data constructors, and does not require subtyping to be implemented.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
DMCA
|
Apply to YC
|
Contact
Search: