summaryrefslogtreecommitdiffhomepage
path: root/nix.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'nix.html.markdown')
-rw-r--r--nix.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix.html.markdown b/nix.html.markdown
index cf412864..c2a2c074 100644
--- a/nix.html.markdown
+++ b/nix.html.markdown
@@ -305,6 +305,9 @@ with builtins; [
({x, y, ...}: x + "-" + y) { x = "a"; y = "b"; z = "c"; }
#=> "a-b"
+ # The entire set can be bound to a variable using `@`
+ (args@{x, y}: args.x + "-" + args.y) { x = "a"; y = "b"; }
+ #=> "a-b"
# Errors
#=========================================