Go ProSign in

This Lesson is for Members

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

Unlock This Lesson

Already subscribed? Sign In

Autoplay
Hide playlist

    Model a Field Requiring Validation in an Elm Form

    As is often the case in a statically typed programming language like Elm, the best solutions are achieved by taking advantage of the type system to accurately model the problem at hand.

    In this lesson, we define a type that can represent the various states and the data for a validatable field. We then let the compiler guide us and work through to a satisfactory solution.

    You must be a Member to view code