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