solutions/A Tour of Nix/07.nix

9 lines
98 B
Nix
Raw Normal View History

2024-04-16 19:13:00 -04:00
let
f = "f";
o = "o";
func = {a, b, c}: a + b + c;
in
{
foo = func {a=f; b=o; c="o";};
}