Next: , Previous: Introduction, Up: Top


2 Clauses

Most of iterate's clauses will be familiar to loop programmers. (loop is an iteration macro that has been incorporated into Common Lisp. See Guy Steele's Common Lisp, 2nd Edition.) In nearly all cases they behave the same as their loop counterparts, so a loop user can switch to iterate with little pain (and much gain).

All clauses with the standard keyword-argument syntax consist of two parts: a required part, containing keywords that must be present and in the right order; and an optional part, containing keywords that may be omitted and, if present, may occur in any order. In the descriptions below, the parts are separated by the Lisp lambda-list keyword &optional.