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