gleam
gleam copied to clipboard
LSP Code Action: Desugar `use` expression
For example, turning:
use x <- result.map(Ok(1))
io.debug(x)
Into:
result.map(Ok(1), fn(x) { io.debug(x) })
Related to https://github.com/gleam-lang/gleam/issues/3311