solutions/A Tour of Nix/06.nix

9 lines
85 B
Nix

let
f = "f";
o = "o";
func = a: b: c: a + b + c;
in
{
foo = func f o "o";
}