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