▲ 1 ▼ What are algebraic data types and why are they named as such? (programming.dev) submitted 2 years ago by onlinepersona@programming.dev to c/no_stupid_questions@programming.dev comment fedilink hide all child comments The wikipedia articles are terribly written (for math loves or people who just need to refresh their knowledge). What is a "sum" of types? What is a product of types? Is it possible to Cat x Dog or Cat + Dog? What does that even mean?
no comments (yet)