Operables

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

Type Declaration

Specific Operable Name: Operable.
`Declare an operable that can only contain up to the specified types.`

Constrained Operable Name A: <Context A, Context B>.
Constrained Operable Name B: <Context A, Context B, Context B>.

Operators

Accessing

Containment

some operable: Operable [context a, context b];

`Index checks.`
some operable(0?) = true
some operable(1?, 2?) = {true, false}

Retrieving

some operable: Operable [context a, context b];
some operable(0) = <context a>

Difference (Remove Elements)

Intersection

Union (Appending)

As Variables

Assignment

Declaration

Last updated