HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by nuclearnice1 | Hacker News Reader
Parent
Full thread
nuclearnice1
·
What are sum/product types?
View on HN
wbradley
·
https://en.m.wikipedia.org/wiki/Algebraic_data_type
chrisseaton
·
In terms of C, a sum is a union and a product is a struct.
Reply on news.ycombinator.com