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