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

6 lines
78 B
Nix

let
f = x: x + 1;
a = 1;
in
# placing f and a on the list
[ f a ]