1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
nix-pills/pills/05/named-set-argument.txt

3 lines
82 B
Plaintext
Raw Normal View History

2017-08-13 06:16:21 -04:00
nix-repl> mul = s@{ a, b, ... }: a*b*s.c
nix-repl> mul { a = 3; b = 4; c = 2; }
24