Basic constructor macro for expr-arrsub structures.
(make-expr-arrsub [:arg1 <arg1>] [:arg2 <arg2>])
This is the usual way to construct expr-arrsub structures. It simply conses together a structure with the specified fields.
This macro generates a new expr-arrsub structure from scratch. See also change-expr-arrsub, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-expr-arrsub (&rest args) (std::make-aggregate 'expr-arrsub args '((:arg1) (:arg2)) 'make-expr-arrsub nil))
Function:
(defun expr-arrsub (arg1 arg2) (declare (xargs :guard (and (exprp arg1) (exprp arg2)))) (declare (xargs :guard t)) (let ((__function__ 'expr-arrsub)) (declare (ignorable __function__)) (b* ((arg1 (mbe :logic (expr-fix arg1) :exec arg1)) (arg2 (mbe :logic (expr-fix arg2) :exec arg2))) (cons :arrsub (list arg1 arg2)))))