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