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