NOTE: this package is not compatible with Elm 0.19.1
Repeatedly apply a function to a value while or until a predicate holds.
Repeatedly apply a function to a value while a predicate holds.
while (\ n -> n < 10) ((+) 5) 2 == 12
Repeatedly apply a function to a value until a predicate holds.
until (\ n -> n > 10) ((+) 5) 2 == 12
Repeatedly apply a function to a value while a predicate holds.