📖
Rede Language Design
  • Overview
    • Introduction
    • Scope
    • Terms and Definitions
  • Annexes
    • Annex A - Complete Grammar
    • Annex B - Symbols and Keywords
    • Annex C - Code Examples
      • Behaviors
      • Comments
      • Crashes
      • Data Types
        • Built-in Types
          • Context Collections
            • Buckets
            • Compositions
              • Registrations
              • Deregistrations
            • Operables
          • Primitives
          • Value Collections
            • Arrays
            • Dictionaries
            • Lists
            • Sets
            • Tuples
        • Custom Types
      • Evaluation
      • Mappings
      • Meta
      • Operations
        • Groups
      • Patterns
    • Annex D - Program Examples
      • Hello World
      • FizzBuzz
      • Fibonacci
      • Shape Drawing
      • Deserialization
      • Serialization
Powered by GitBook
On this page
  • Type Declaration
  • Operators
  • As Variables
  1. Annexes
  2. Annex C - Code Examples
  3. Data Types
  4. Built-in Types
  5. Context Collections
  6. Compositions

Deregistrations

The following code examples demonstrate the built-in deregistration type offered by the language. See section [TBD] for details.

Type Declaration

Specific Deregistration Name: Deregistration.
`Declare a deregistration that can only contain up to the specified types.`

Constrained Deregistration Name A: {Context A, Context B}.
Constrained Deregistration Name B: {Context A, Context B, Context B}.
Constrained Deregistration Name C: {Context A, {*Context B*}}.

Operators

Operators are the same as Composition operators.

As Variables

Use as variables is the same as for Compositions.

PreviousRegistrationsNextOperables

Last updated 1 year ago