Thoughts on Functional Programming Podcast by Eric Normand

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.

Show Notes

For audio, video, and text transcripts: https://lispcast.com/what-are-product-and-sum-types/

What is Thoughts on Functional Programming Podcast by Eric Normand?

An off-the-cuff stream of Functional Programming ideas, skills, patterns, and news from Functional Programming expert Eric Normand of LispCast.