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