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