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