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