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