RetroFed Forum
Your home away from modern life.
What are algebraic data types and why are they named as such?
Post Reply
AuthorMessage
onlinepersona programming.dev onlinepersona@programming.dev
Joined: 2023-09-01
Quote

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?

1   Original
Post Reply
Back to top