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