mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
17 lines
339 B
Text
17 lines
339 B
Text
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
|
|
```
|