mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02: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
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ If the attribute doesn’t exist, return the *expr* after `or` if provided, othe
|
||||||
>
|
>
|
||||||
> *func* *expr*
|
> *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 callable value is either:
|
||||||
- a [user-defined function][function]
|
- a [user-defined function][function]
|
||||||
- a [built-in][builtins] function
|
- a [built-in][builtins] function
|
||||||
|
@ -62,7 +62,7 @@ A callable value is either:
|
||||||
|
|
||||||
> **Warning**
|
> **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
|
## Has attribute
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue