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