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