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