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