Basic constructor macro for address structures.
(make-address [:unwrap <unwrap>])
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 '((:unwrap)) 'make-address nil))
Function:
(defun address (unwrap) (declare (xargs :guard (any-p unwrap))) (declare (xargs :guard t)) (let ((__function__ 'address)) (declare (ignorable __function__)) (b* ((unwrap (mbe :logic (identity unwrap) :exec unwrap))) (list (cons 'unwrap unwrap)))))