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