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