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