What are product and sum types? episode artwork

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/

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?

0:00 23:05

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Frequently Asked Questions

How long is this episode of The Eric Normand Podcast?

This episode is 23 minutes long.

When was this The Eric Normand Podcast episode published?

This episode was published on October 17, 2019.

What is this episode about?

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

Can I download this The Eric Normand Podcast episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!