Lines Matching +refs:collect +refs:macro +refs:forms
45 In what follows I describe a macro package, called \iter, that
62 \setf\ methods very easily, so that \setf\ will work with new forms.
65 it allows you to view value-returning forms, like {\lisp (car ...)} or
79 (collect el)))
83 forms. Any legal Lisp form is allowed, as well as certain forms that
85 {\lisp collect} are the two clauses in the above example. An \iter\
135 (collect key into keys)
136 (collect item into items)
230 (collect (cons el i)))
289 (collect (cons el (next i)))))
325 appearance. \looP\ is a macro written originally for MacLisp and in
335 (collect el)))
344 collect el)
357 \looP\ clauses cannot appear inside Lisp forms and macros cannot
362 Lisp form correctly, and can be easily customized for most new forms.
399 do in \looP, but in \iter\ you could simply write a macro:
406 {\lisp sum-of-sqrts} is a perfectly ordinary Lisp macro. Since