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