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