We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Switch
See #724 for context. These forms should be equivalent:
def Foo(n int) (n int) { Switch<int> Bar, Baz, Bax --- :n -> switch:data 1 -> switch:case[0] -> Bar 2 -> switch:case[1] -> Baz switch:else -> Bax [bar, baz, bax] -> :n }
Given #726 (comment) switch will probably look like this:
switch
v -> switch { sender_1 -> receiver_side_1 sender_2 -> receiver_side_2 ... default -> receiver_side_N }
The text was updated successfully, but these errors were encountered:
Match
If
for
ForEach?
No branches or pull requests
See #724 for context. These forms should be equivalent:
Before (desugared)
After (sugar)
Given #726 (comment)
switch
will probably look like this:The text was updated successfully, but these errors were encountered: