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