mirror of
https://github.com/NixOS/nix.git
synced 2024-11-27 01:02:34 +00:00
1b962fc720
f = args @ {x, y, z}: ...; `args' refers to the argument as a whole, which is further pattern-matched against the attribute set pattern {x, y, z}.
2 lines
24 B
Nix
2 lines
24 B
Nix
args@{args, x, y, z}: x
|