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
Select
See #724
flow GetString(a, b, c) (s string) { Select<string> --- :a -> select:if[0] :b -> select:if[1] :c -> select:if[2] 'a' -> select:then[0] 'b' -> select:then[1] 'c' -> select:then[2] 'd' -> select:else select -> :s }
def GetString(a, b, c) (s string) { select { :a: 'a' :b: 'b' :c: 'c' else: 'd' } -> :s }
The text was updated successfully, but these errors were encountered:
select
Go's select answers not just "where from" but also "what" (you can ignore value from chan but it's there)
Sorry, something went wrong.
emil14
No branches or pull requests
See #724
Before (desugared)
After (sugar)
The text was updated successfully, but these errors were encountered: