Skip to content

Type annotations in imperative code block capture lists #25

@pboyer

Description

@pboyer

This type of syntax would allow parallel invocation of imperative code.

What happens if the variable in the capture block does not match the type annotation?

a = {0,1,2};
b = [Imperative]( a : number ) {
  // do stuff
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions