common-lispBasic loops


Syntax

  • (do ({var | (var [init-form [step-form]])}*) (end-test-form result-form*) declaration* {tag | statement}*)
  • (do* ({var | (var [init-form [step-form]])}*) (end-test-form result-form*) declaration* {tag | statement}*)
  • (dolist (var list-form [result-form]) declaration* {tag | statement}*)
  • (dotimes (var count-form [result-form]) declaration* {tag | statement}*)