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