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