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