Result and Maybe
Check out a free preview of the full Elm course:
The "Result and Maybe" Lesson is part of the full, Elm course featured in this preview video. Here's what you'd learn in this lesson:
Built-in functions return a union type that contains two values, Ok and Err. It’s necessary to use a case expression to parse the union to get the value. The Maybe type has at most one value.
Get Unlimited Access Now