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