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