mirror of
https://github.com/oxalica/nil.git
synced 2025-12-23 09:19:49 +00:00
document inline codeaction
This commit is contained in:
parent
77112d8cad
commit
c39f60411b
1 changed files with 11 additions and 0 deletions
|
|
@ -167,3 +167,14 @@ https://nixos.org
|
|||
```nix
|
||||
"https://nixos.org"
|
||||
```
|
||||
|
||||
### `inline`
|
||||
|
||||
Rewrite a binding to its definition.
|
||||
```nix
|
||||
let id = x: x; in a 1
|
||||
```
|
||||
=>
|
||||
```nix
|
||||
let id = x: x; in (x: x) 1
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue