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