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