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