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