Check out a free preview of the full Elm course:
The "Union Types" Lesson is part of the full, Elm course featured in this preview video. Here's what you'd learn in this lesson:

You can declare custom types. Union types can be compounds of values, constants, and functions

Get Unlimited Access Now