Skip to content

Keyword: loop

Pebaz edited this page May 29, 2019 · 1 revision

Description

Equivalent of a for loop in other languages. Loops a number of times and sets the control variable to the current value of the iteration.

Usage

:>
Prints:
0
1
2
<:
(loop 'i 3 '[
    (print i)
])

Clone this wiki locally