mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
restructure intro to functions
This commit is contained in:
parent
ceff1d7713
commit
7f6404c1ae
|
@ -418,11 +418,9 @@ is equivalent to
|
|||
|
||||
# Functions
|
||||
|
||||
Functions are everywhere in the Nix language.
|
||||
Functions are everywhere in the Nix language and deserve particular attention.
|
||||
|
||||
## Argument
|
||||
|
||||
Nix functions take exactly one argument.
|
||||
Functions take exactly one argument.
|
||||
|
||||
x: x + 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue