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