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
use
For example, turning:
use x <- result.map(Ok(1)) io.debug(x)
Into:
result.map(Ok(1), fn(x) { io.debug(x) })
Related to #3311
The text was updated successfully, but these errors were encountered:
If you had multiple use expressions in a block what would the desired behaviour be?
use x <- result.try(Ok(1)) use y <- result.try(Error(1)) Ok(1)
Desugaring all of them? Or just the one where the cursor is?
result.try(Ok(1), fn(x) { use y <- result.try(Error(1)) Ok(1) }) // Or all the way down result.try(Ok(1), fn(x) { result.try(Error(1), fn(y) { Ok(1) }) })
Sorry, something went wrong.
Just one please
No branches or pull requests
For example, turning:
Into:
Related to #3311
The text was updated successfully, but these errors were encountered: