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