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