• 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-length-of-length
                • Rlp-error-kind
                • Rlp-error-subtree
                • Rlp-error-non-optimal-short-length
                  • Rlp-error-non-optimal-short-length->fragment
                  • Make-rlp-error-non-optimal-short-length
                    • Change-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-non-optimal-short-length

    Make-rlp-error-non-optimal-short-length

    Basic constructor macro for rlp-error-non-optimal-short-length structures.

    Syntax
    (make-rlp-error-non-optimal-short-length [:fragment <fragment>]) 
    

    This is the usual way to construct rlp-error-non-optimal-short-length structures. It simply conses together a structure with the specified fields.

    This macro generates a new rlp-error-non-optimal-short-length structure from scratch. See also change-rlp-error-non-optimal-short-length, which can "change" an existing structure, instead.

    Definition

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

    Macro: make-rlp-error-non-optimal-short-length

    (defmacro make-rlp-error-non-optimal-short-length (&rest args)
      (std::make-aggregate 'rlp-error-non-optimal-short-length
                           args '((:fragment))
                           'make-rlp-error-non-optimal-short-length
                           nil))

    Function: rlp-error-non-optimal-short-length

    (defun rlp-error-non-optimal-short-length (fragment)
      (declare (xargs :guard (byte-listp fragment)))
      (declare (xargs :guard t))
      (let ((__function__ 'rlp-error-non-optimal-short-length))
        (declare (ignorable __function__))
        (b* ((fragment (mbe :logic (byte-list-fix fragment)
                            :exec fragment)))
          (cons :non-optimal-short-length (list fragment)))))