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