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