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