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