Add '11.nix'

master
NaiJi ✨ 2 years ago
parent 8f91f53f6f
commit 22a96b3ac7

@ -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
}
Loading…
Cancel
Save