Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nuclearnice1
· 7y ago · 0 comments
What are sum/product types?
Comments
[–]
wbradley
7y ago
https://en.m.wikipedia.org/wiki/Algebraic_data_type
[–]
chrisseaton
7y ago
In terms of C, a sum is a union and a product is a struct.