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