• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
      • Events
      • Parallelism
      • History
      • Programming
      • Operational-semantics
      • Real
      • Start-here
      • Debugging
      • Miscellaneous
      • Output-controls
      • Macros
        • Make-event
        • Defmacro
        • Untranslate-patterns
        • Tc
        • Trans*
        • Macro-aliases-table
        • Macro-args
        • Defabbrev
        • User-defined-functions-table
        • Trans
        • Untranslate-for-execution
        • Add-macro-fn
        • Check-vars-not-free
        • Safe-mode
        • Macro-libraries
          • B*
          • Defunc
          • Fty
          • Apt
          • Std/util
          • Defdata
          • Defrstobj
          • Seq
          • Match-tree
          • Defrstobj
          • With-supporters
          • Def-partial-measure
          • Template-subst
          • Soft
            • Soft-future-work
            • Soft-macros
              • Defun-inst
              • Defequal
              • Defsoft
              • Defthm-inst
              • Defun2
              • Defunvar
                • Defunvar-implementation
                  • Defunvar-fn
                  • Show-defunvar
                    • Defunvar-macro-definition
                • Defun-sk2
                • Defchoose2
                • Defthm-2nd-order
                • Define-sk2
                • Defund-sk2
                • Define2
                • Defund2
              • Updates-to-workshop-material
              • Soft-implementation
              • Soft-notions
            • Defthm-domain
            • Event-macros
            • Def-universal-equiv
            • Def-saved-obligs
            • With-supporters-after
            • Definec
            • Sig
            • Outer-local
            • Data-structures
          • Trans1
          • Defmacro-untouchable
          • Set-duplicate-keys-action
          • Add-macro-alias
          • Magic-macroexpand
          • Defmacroq
          • Trans!
          • Remove-macro-fn
          • Remove-macro-alias
          • Add-binop
          • Untrans-table
          • Trans*-
          • Remove-binop
          • Tcp
          • Tca
        • Mailing-lists
        • Interfacing-tools
      • Macro-libraries
        • B*
        • Defunc
        • Fty
        • Apt
        • Std/util
        • Defdata
        • Defrstobj
        • Seq
        • Match-tree
        • Defrstobj
        • With-supporters
        • Def-partial-measure
        • Template-subst
        • Soft
          • Soft-future-work
          • Soft-macros
            • Defun-inst
            • Defequal
            • Defsoft
            • Defthm-inst
            • Defun2
            • Defunvar
              • Defunvar-implementation
                • Defunvar-fn
                • Show-defunvar
                  • Defunvar-macro-definition
              • Defun-sk2
              • Defchoose2
              • Defthm-2nd-order
              • Define-sk2
              • Defund-sk2
              • Define2
              • Defund2
            • Updates-to-workshop-material
            • Soft-implementation
            • Soft-notions
          • Defthm-domain
          • Event-macros
          • Def-universal-equiv
          • Def-saved-obligs
          • With-supporters-after
          • Definec
          • Sig
          • Outer-local
          • Data-structures
        • Interfacing-tools
        • Hardware-verification
        • Software-verification
        • Math
        • Testing-utilities
      • Defunvar-implementation

      Show-defunvar

      Show the event form generated by defunvar, without submitting them.

      Macro: show-defunvar

      (defmacro show-defunvar (&whole call funvar
                                      arguments arrow result &key print)
       (cons
        'defunvar-fn
        (cons
         (cons 'quote (cons funvar 'nil))
         (cons
          (cons 'quote (cons arguments 'nil))
          (cons
           (cons 'quote (cons arrow 'nil))
           (cons
            (cons 'quote (cons result 'nil))
            (cons
             (cons 'quote (cons print 'nil))
             (cons
                  (cons 'quote (cons call 'nil))
                  (cons (cons 'cons
                              (cons ''defunvar
                                    (cons (cons 'quote (cons funvar 'nil))
                                          'nil)))
                        '(state))))))))))

      Macro: show-defunvar

      (defmacro acl2::show-defunvar (&rest args)
        (cons 'show-defunvar args))