Name

continue-if

Usage

loop clause

Syntax

(continue-if test)

Description

Starts the next iteration of the current loop, while or foreach loop if test condition is true.

user 1 > (loop
             (for i in (series 5))
             (print-line i)
             (continue-if
                 (odd? i))
             (print-line i))
1
2
2
3
4
4
5
it: null
user 2 > (macroexpand-1 '(continue-if (odd? i)))
it: ((continue-if (odd? i)) false)