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