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