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