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