Groups

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

General Declaration

`Operations can be grouped within an encapsulating operation, as a collection.
    Once the encapsulating operation qualifies, its inner operations will be 
    evaluated, and any of those that qualify will be performed. The contexts of 
    the encapsulating group are accessible to the inner operations.`

Op Group ID :: Some example operation group for Context A and Context B: 
    <context a, context b>?
    {
        Inner Operation A :: 
            when context a (Value A) > context b (Value A)?
                `Operation logic.`;
    
        Inner operation B ::
            when context a (Value B) > context b (Value B),
            after A, 
            with A?
                `Operation logic.`;
    
        Inner operation C ::
            after A,
            without B?
                `Operation logic.`;
    
        Inner operation D ::
            default?
                `Operation logic.`;
    }.

Extensions

Replacements

Last updated