Skip to content

clojure.core/while

View this page on ClojureDocs

Type: macro Added: Clojure 1.0 Examples: 2 Runnable: 1
([test & body])

Repeatedly executes body while test expression is true. Presumes some side-effect will cause test to become false/nil. Returns nil

Examples

by dakrone on
by reborg on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.