gleam
gleam copied to clipboard
LSP Code Action: Convert function callback into `use` statement
For example, turning:
result.map(Ok(1), fn(x) { io.debug(x) })
Into:
use x <- result.map(Ok(1))
io.debug(x)
For example, turning:
result.map(Ok(1), fn(x) { io.debug(x) })
Into:
use x <- result.map(Ok(1))
io.debug(x)