• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
          • Mmp-trees
          • Semaphore
          • Database
          • Cryptography
          • Rlp
            • Rlp-tree
            • Rlp-decoding-executable
              • Rlp-error
                • Rlp-error-fix
                • Rlp-error-p
                • Rlp-error-case
                • Rlp-error-equiv
                • Rlp-error-count
                • Rlp-error-fewer-bytes-than-short-length
                • Rlp-error-fewer-bytes-than-long-length
                  • Rlp-error-fewer-bytes-than-long-length->required
                  • Rlp-error-fewer-bytes-than-long-length->fragment
                  • Rlp-error-fewer-bytes-than-long-length->available
                  • Make-rlp-error-fewer-bytes-than-long-length
                  • Change-rlp-error-fewer-bytes-than-long-length
                  • Rlp-error-fewer-bytes-than-length-of-length
                  • Rlp-error-kind
                  • Rlp-error-subtree
                  • Rlp-error-non-optimal-short-length
                  • Rlp-error-non-optimal-long-length
                  • Rlp-error-leading-zeros-in-scalar
                  • Rlp-error-leading-zeros-in-long-length
                  • Rlp-error-extra-bytes
                  • Rlp-error-branch-tree
                  • Rlp-error-no-bytes
                • Rlp-parse-tree
                • Rlp-decodex-tree
                • Maybe-rlp-error
                • Rlp-decodex-bytes
                • Rlp-decodex-scalar
              • Rlp-decodability
              • Rlp-encoding
              • Rlp-decoding-declarative
              • Rlp-big-endian-representations
            • Transactions
            • Hex-prefix
            • Basics
            • Addresses
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Rlp-error-fewer-bytes-than-long-length

    Change-rlp-error-fewer-bytes-than-long-length

    Modifying constructor for rlp-error-fewer-bytes-than-long-length structures.

    Syntax
    (change-rlp-error-fewer-bytes-than-long-length x 
                                                   [:fragment <fragment>] 
                                                   [:required <required>] 
                                                   [:available <available>]) 
    

    This is an often useful alternative to make-rlp-error-fewer-bytes-than-long-length.

    We construct a new rlp-error-fewer-bytes-than-long-length structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by fty::defprod.

    Macro: change-rlp-error-fewer-bytes-than-long-length

    (defmacro change-rlp-error-fewer-bytes-than-long-length
              (x &rest args)
     (std::change-aggregate
       'rlp-error-fewer-bytes-than-long-length
       x args
       '((:fragment .
                    rlp-error-fewer-bytes-than-long-length->fragment)
         (:required .
                    rlp-error-fewer-bytes-than-long-length->required)
         (:available .
                     rlp-error-fewer-bytes-than-long-length->available))
       'change-rlp-error-fewer-bytes-than-long-length
       'nil))