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