Basic constructor macro for expr-funcall structures.
(make-expr-funcall [:fun <fun>]
[:args <args>]
[:info <info>])
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) (:info)) 'make-expr-funcall nil))
Function:
(defun expr-funcall (fun args info) (declare (xargs :guard (and (exprp fun) (expr-listp args) (acl2::any-p info)))) (declare (xargs :guard t)) (b* ((fun (mbe :logic (expr-fix fun) :exec fun)) (args (mbe :logic (expr-list-fix args) :exec args)) (info (mbe :logic (identity info) :exec info))) (cons :funcall (cons fun (cons args info)))))