mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
5 lines
95 B
Plaintext
5 lines
95 B
Plaintext
nix-repl> mul = { a, b ? 2 }: a*b
|
|
nix-repl> mul { a = 3; }
|
|
6
|
|
nix-repl> mul { a = 3; b = 4; }
|
|
12 |