nix-learn/nix-language/Functions/CallingFunctions/parenthesisOnList.nix

8 lines
70 B
Nix

let
f = x: x + 1;
a = 1;
in
# applies f to a
[ (f a) ]