While loop

While loops function just the way they do in other languages. As long as a certain condition is true, the code block is executed.

Syntax:

while (condition) { ... }

There isn't much more to say, so here is a small example:

condition = x -> x % 15 == 0;;;i = 1;;;while (!condition(i)) ++i