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