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