EPISODE · Oct 17, 2019 · 23 MIN
What are product and sum types?
from The Eric Normand Podcast · host Eric Normand
For audio, video, and text transcripts: https://lispcast.com/what-are-product-and-sum-types/
What this episode covers
Product and sum types are collectively known as 'algebraic data types'. These are two ways of putting types together to make bigger types. Product types multiply their states, while sum types add them. With these two 'operations', we can precisely target a desired number of states. In this episode, we explore how we can eliminate corner cases with algebraic data types.
NOW PLAYING
What are product and sum types?
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m