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