mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 05:40:52 +00:00
doc: Edit language/operators
Co-authored-by: John Ericson <John.Ericson@Obsidian.Systems> Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
This commit is contained in:
parent
e225b63062
commit
06b18cff20
@ -54,7 +54,7 @@ If the attribute doesn’t exist, return the *expr* after `or` if provided, othe
|
||||
>
|
||||
> *func* *expr*
|
||||
|
||||
Apply the callable value *func* to the argument *expr*. Note the absence of a visible operator symbol.
|
||||
Apply the callable value *func* to the argument *expr*. Note the absence of any visible operator symbol.
|
||||
A callable value is either:
|
||||
- a [user-defined function][function]
|
||||
- a [built-in][builtins] function
|
||||
@ -62,7 +62,7 @@ A callable value is either:
|
||||
|
||||
> **Warning**
|
||||
>
|
||||
> This "operator" also separates [list] items, which means that calls in list items must be enclosed by parentheses.
|
||||
> [List][list] items are also separated by whitespace, which means that function calls in list items must be enclosed by parentheses.
|
||||
|
||||
## Has attribute
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user