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