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