• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Zcash
      • Des
      • X86isa
      • Sha-2
      • Yul
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Axe
      • Poseidon
      • Where-do-i-place-my-book
      • Aleo
        • Aleobft
        • Aleovm
          • Circuits
          • Language
            • Grammar
            • Early-version
              • Abstract-syntax
                • Binary-op
                • Literal
                • Instruction
                • Hash-op
                • Literal-type
                  • Literal-type-fix
                  • Literal-type-case
                  • Literal-type-equiv
                  • Literal-typep
                  • Literal-type-unsigned
                  • Literal-type-signed
                  • Literal-type-kind
                  • Literal-type-string
                  • Literal-type-scalar
                  • Literal-type-group
                  • Literal-type-field
                  • Literal-type-boolean
                  • Literal-type-address
                • Operand
                • Unary-op
                • Identifier
                • Commit-op
                • Mapping
                • Function
                • Programdef
                • Finalize-type
                • Closure
                • Register-type
                • Finalizer
                • Value-type
                • Record-type
                • Command
                • Plaintext-type
                • Finalization-option
                • Visibility
                • Register
                • Reference
                • Programid
                • Locator
                • Finalization
                • Entry-type
                • Regaccess
                • Program
                • Interface-type
                • Ident+ptype
                • Ident+etype
                • Function-output
                • Finalize-output
                • Finalize-input
                • Closure-output
                • Closure-input
                • Assert-op
                • Function-input
                • Equal-op
                • Finalize-command
                • Ternary-op
                • Import
                • Ident+ptype-list
                • Operand-list
                • Ident+etype-list
                • Programdef-list
                • Instruction-list
                • Import-list
                • Identifier-list
                • Function-output-list
                • Function-input-list
                • Finalize-output-list
                • Finalize-input-list
                • Command-list
                • Closure-output-list
                • Closure-input-list
              • Parser
              • Concrete-syntax
            • Concrete-syntax
        • Leo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Abstract-syntax

Literal-type

Fixtype of plaintext types.

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:boolean → literal-type-boolean
:unsigned → literal-type-unsigned
:signed → literal-type-signed
:field → literal-type-field
:group → literal-type-group
:scalar → literal-type-scalar
:address → literal-type-address
:string → literal-type-string

These are all the possible types of literals.

Subtopics

Literal-type-fix
Fixing function for literal-type structures.
Literal-type-case
Case macro for the different kinds of literal-type structures.
Literal-type-equiv
Basic equivalence relation for literal-type structures.
Literal-typep
Recognizer for literal-type structures.
Literal-type-unsigned
Literal-type-signed
Literal-type-kind
Get the kind (tag) of a literal-type structure.
Literal-type-string
Literal-type-scalar
Literal-type-group
Literal-type-field
Literal-type-boolean
Literal-type-address