Skip to content

Type annotations in imperative code block capture lists #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pboyer opened this issue Oct 26, 2016 · 0 comments
Open

Type annotations in imperative code block capture lists #25

pboyer opened this issue Oct 26, 2016 · 0 comments

Comments

@pboyer
Copy link
Contributor

pboyer commented Oct 26, 2016

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
};
@pboyer pboyer removed the TODO label Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant