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