Modifying constructor for ctrex-rule structures.
(change-ctrex-rule x [:name <name>] [:assigned-var <assigned-var>] [:assign <assign>] [:match <match>] [:match-conds <match-conds>] [:assign-cond <assign-cond>] [:hyp <hyp>] [:equiv <equiv>] [:ruletype <ruletype>])
This is an often useful alternative to make-ctrex-rule.
We construct a new ctrex-rule structure that is a copy of
This is an ordinary
Macro:
(defmacro change-ctrex-rule (x &rest args) (std::change-aggregate 'ctrex-rule x args '((:name . ctrex-rule->name) (:assigned-var . ctrex-rule->assigned-var) (:assign . ctrex-rule->assign) (:match . ctrex-rule->match) (:match-conds . ctrex-rule->match-conds) (:assign-cond . ctrex-rule->assign-cond) (:hyp . ctrex-rule->hyp) (:equiv . ctrex-rule->equiv) (:ruletype . ctrex-rule->ruletype)) 'change-ctrex-rule 'remake-ctrex-rule))