From 29c0199d5c53cec59cfb44c94a4c9651b1c034b4 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Wed, 30 Dec 2015 08:42:41 +0100 Subject: manual: document builtins.functionArgs The text is just a conversion of comment from src/libexpr/primops.cc --- src/libexpr/primops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/primops.cc') diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 5b9ecc018f0e..cf2d3d278f28 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -1154,7 +1154,7 @@ static void prim_catAttrs(EvalState & state, const Pos & pos, Value * * args, Va /* Return a set containing the names of the formal arguments expected by the function `f'. The value of each attribute is a Boolean - denoting whether has a default value. For instance, + denoting whether the corresponding argument has a default value. For instance, functionArgs ({ x, y ? 123}: ...) => { x = false; y = true; } -- cgit 1.4.1