This Lesson is for PRO Members.

Subscribe today and get access to all lessons! Plus direct HD download
for offline use, member comment forums, and iTunes "podcast" RSS feed.
Level up your skills now!


Already subscribed? Sign In


Use Single-Constructor Union Types in Elm to Prevent Invalid Data

In this lesson you will learn to use Elm's type and module system to make invalid data unrepresentable, a robust approach to ensure that your data is always consistent!

You should know the basics of union types before tackling this content, they're explained here in Define simple union types in Elm.

You can follow along using any editor and Elm reactor; if you need help with the setup, watch Installing and setting up Elm.

Please take a moment to tell your friends:

You must be a PRO Member to view code