continue skips the rest of the current for or for* iteration.

Syntax

(continue)
(continue label)

Semantics

  • Without a label, it applies to the innermost loop.
  • With a label, it targets a named enclosing loop.
  • It proceeds to the next iteration after the loop’s normal step handling.

Example

(for :outer ()
  (for ()
    (when satisfied?
      (continue :outer))
    (when skip?
      (continue))
    (process item)))