diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-12-30T07·42+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-05T12·29+0100 |
commit | 29c0199d5c53cec59cfb44c94a4c9651b1c034b4 (patch) | |
tree | 18659b5bac4cddc4f9f35015db8b5bd76e637c8e /src | |
parent | 5eb93556f16e3e36de8ea539821eed105ee64289 (diff) |
manual: document builtins.functionArgs
The text is just a conversion of comment from src/libexpr/primops.cc
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |