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