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