Basic constructor macro for desiniter structures.
(make-desiniter [:designors <designors>] [:initer <initer>])
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 '((:designors) (:initer)) 'make-desiniter nil))
Function:
(defun desiniter (designors initer) (declare (xargs :guard (and (designor-listp designors) (initerp initer)))) (declare (xargs :guard t)) (let ((__function__ 'desiniter)) (declare (ignorable __function__)) (b* ((designors (mbe :logic (designor-list-fix designors) :exec designors)) (initer (mbe :logic (initer-fix initer) :exec initer))) (list (cons 'designors designors) (cons 'initer initer)))))