while

macrosince v0.0-927imported clojure.core/whileEdit
(while test & body)

Details:

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

Returns nil.


See Also:


Source docstring:
Repeatedly executes body while test expression is true. Presumes
some side-effect will cause test to become false/nil. Returns nil
Source code @ clojure:src/clj/clojure/core.clj
(defmacro while
  {:added "1.0"}
  [test & body]
  `(loop []
     (when ~test
       ~@body
       (recur))))