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