Elm Function Guarantees


This course has been updated! We now recommend you take the Introduction to Elm, v2 course.

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

Functions in Elm are pure. If you give functions the same arguments they will always return the same value. It’s impossible for Elm to have a function that generates a random number. To get a random number from Elm you must use a command.

Get Unlimited Access Now