Modifying constructor for stmt-for structures.
(change-stmt-for x
[:init <init>]
[:test <test>]
[:next <next>]
[:body <body>])
This is an often useful alternative to make-stmt-for.
We construct a new stmt-for structure that is a copy of
This is an ordinary
Macro:
(defmacro change-stmt-for (x &rest args) (std::change-aggregate 'stmt-for x args '((:init . stmt-for->init) (:test . stmt-for->test) (:next . stmt-for->next) (:body . stmt-for->body)) 'change-stmt-for 'nil))