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