290 B
290 B
10_loops
DOLIST, DOTIMES, and the LOOP macro.
DOLIST and DOTIMES are simple walkers. LOOP is a composable sublanguage: FOR ... COLLECT, SUM, WHEN, THEREIS. DO and DO* spell a loop out by hand, and LOOP answers with WITH, THEN, UNTIL, COUNT, MAXIMIZE, and LOOP-FINISH for leaving early.