• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
        • Syntax-for-tools
        • Atc
        • Transformation-tools
        • Language
          • Abstract-syntax
          • Integer-ranges
          • Implementation-environments
          • Dynamic-semantics
          • Static-semantics
          • Grammar
          • Types
            • Type
            • Type-name-list-to-type-list
            • Tyname-to-type
            • Member-type-list->name-list
            • Type-completep
            • Member-type
            • Member-type-add-first
            • Member-type-add-last
            • Init-type
            • Type-option
              • Type-option-fix
              • Type-option-case
              • Type-option-equiv
              • Type-option-some
              • Type-optionp
              • Type-option-none
            • Member-type-lookup
            • Tyspecseq-to-type
            • Member-type-list-option
            • Type-promoted-arithmeticp
            • Type-list-result
            • Member-type-list-result
            • Integer-type-bits-nulfun
            • Init-type-result
            • Type-result
            • Type-nonchar-integerp
            • Type-nonchar-integer-listp
            • Type-arithmetic-listp
            • Type-integer-listp
            • Integer-type-xdoc-string
            • Type-unsigned-integerp
            • Type-signed-integerp
            • Integer-type-minbits
            • Integer-type-bits
            • Type-scalarp
            • Type-integerp
            • Type-arithmeticp
            • Type-realp
            • Type-list
            • *nonchar-integer-types*
            • Member-type-list
            • Ident-type-map
            • Type-set
            • Type-option-set
            • Symbol-type-alist
            • Type-option-list
          • Integer-formats-definitions
          • Computation-states
          • Portable-ascii-identifiers
          • Values
          • Integer-operations
          • Object-designators
          • Operations
          • Errors
          • Tag-environments
          • Function-environments
          • Character-sets
          • Flexible-array-member-removal
          • Arithmetic-operations
          • Pointer-operations
          • Real-operations
          • Array-operations
          • Scalar-operations
          • Structure-operations
        • Representation
        • Insertion-sort
        • Pack
      • 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
      • 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
  • Types

Type-option

Fixtype of optional types.

This is an option type introduced by fty::defoption. Note that defoption is just a wrapper for fty::defflexsum, so there are :none and :some member types, a case macro, and so forth.

Member Types
:none → type-option-none
Represents that no type-option is available, i.e., Nothing or None.
:some → type-option-some
An available type-option, i.e., Just val or Some val.

Subtopics

Type-option-fix
Fixing function for type-option structures.
Type-option-case
Case macro for the different kinds of type-option structures.
Type-option-equiv
Basic equivalence relation for type-option structures.
Type-option-some
An available type-option, i.e., Just val or Some val.
Type-optionp
Recognizer for type-option structures.
Type-option-none
Represents that no type-option is available, i.e., Nothing or None.