Elixir Mix cover image

A Thing or Two About Union Types - EMx 194

Elixir Mix

CHAPTER

What Are Some Types of Tech Unions?

The number of possible states a struct can be in is the product of the number of possibleStates of each individual property. With some types, if you have three different cases, let's say that it's the sum of a different case and the number of Possible States. In Elixir, we actually have one example of some types which is the okay error to build it convention.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner