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