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