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