mirror of
https://github.com/NixOS/nix
synced 2024-10-18 14:32:45 -04:00
technically correct terminology
This commit is contained in:
parent
a780ce4f58
commit
8416960c39
|
@ -503,7 +503,8 @@ three kinds of patterns:
|
||||||
> [ 23 {} ]
|
> [ 23 {} ]
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
The complete function argument denoted as an `@`-pattern can be accessed inside default values.
|
The full function argument bound by the `@`-pattern is also brought into scope over the set pattern on the other side of the `@`, not just over the body of the function.
|
||||||
|
It can therefore be used in default values:
|
||||||
|
|
||||||
> **Example**
|
> **Example**
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue