From 22a96b3ac7dfd4e338a6fd0ce04dcdbe1848e37f Mon Sep 17 00:00:00 2001 From: NaiJi Date: Thu, 7 Apr 2022 17:40:31 +0000 Subject: [PATCH] Add '11.nix' --- 11.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 11.nix diff --git a/11.nix b/11.nix new file mode 100644 index 0000000..1f734b9 --- /dev/null +++ b/11.nix @@ -0,0 +1,8 @@ +let + func = {a, b, ...}@bargs: if a == "foo" then + b + bargs.c else b + bargs.x + bargs.y; +in +{ + #complete next line so it evaluates to "foobar" + foobar = func {a="bar"; b="foo"; x="bar"; y="";}; #ONLY EDIT THIS LINE +} \ No newline at end of file