2 Loop Constructs
The following loop keywords designate clauses that accumulate values in lists and return them:
append, appending collect, collecting nconc, nconcingThe following loop keywords designate clauses that accumulate and return numerical values:
count, counting maximize, maximizing minimize, minimizing sum, summingThe loop preposition
into
can be used to name the variable used to hold partial accumulations. The variable is bound as if by the loop constructwith
. See Section 2.5 on page 30 for more information aboutwith
. Ifinto
is used, the construct does not provide a default return value; however, the variable is available for use in anyfinally
clause. Note: These loop keywords can also be spelled with the optional suffixing
.
Generated with Harlequin WebMaker