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