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