mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
18 lines
339 B
Plaintext
18 lines
339 B
Plaintext
Nix <nix version>
|
|
Type :? for help.
|
|
|
|
nix-repl> :l doc-comments.nix
|
|
Added <number omitted> variables.
|
|
|
|
nix-repl> :doc multiply
|
|
Function `multiply`\
|
|
… defined at /path/to/tests/functional/repl/doc-comments.nix:10:14
|
|
|
|
|
|
Perform *arithmetic* multiplication. It's kind of like repeated **addition**, very neat.
|
|
|
|
```nix
|
|
multiply 2 3
|
|
=> 6
|
|
```
|