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