Operations

The following code examples demonstrate how an operation can be declared and used. See section [TBD] for details.

General Declaration

`Defines an operation to be performed for an operable with a Context A and 
    a Context B, internally named 'context a' and 'context b', respectively.`

Some example operation for Context A and Context B: 
    <context a, context b>?
        `Operation logic.`
`Defines an operation where 'context b' will be defaulted with the specified 
    values if it is not provided as part of the operable.`

Some defaulted example operation for Context A and Context B: 
    <context a, context b [A[0], B[""]]>?
        `Operation logic.`
`Defines an operation where both contexts are generic contexts. The generic 
typing of Context A is limited to types fulfilling the contract, Number.`

Some defaulted example operation for Context A (T [Number]) and Context B (T): 
    <context a, context b>?
        `Operation logic.`

Circumstantial Control Flow

Data Control Flow

Evaluative Control Flow

Reactive Control Flow

Identification-Based Declarations

With Identifier

Extensions

Relational Control Flow

Replacements

Last updated