99 Elm Problems/Problem 4

Elm provides the function. See if you can implement it.

Result:

Solutions