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