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