summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-07 03:57:47 -0700
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-07 03:57:47 -0700
commit46814da91a9fef4fefd104b34cd7d6376deef033 (patch)
treecbaa2b4dcc4752faf6bacba1868c31d89b1a6c57 /docs/content
parent65deaaacf507c9e1d01773887d8c56be847ff1bd (diff)
parentd0cd26cd8e110e9c2a68e56dac4c208851ec24e8 (diff)
Merge pull request #119 from 13ren/master
tiny typo fix in manual
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/3.manual/manual.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index c85fcd57..01defbd8 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -1040,7 +1040,7 @@ sections:
If you want the value-argument behaviour for defining simple
functions, you can just use a variable:
- def addvalue(f): f as $value | map(, + $value);
+ def addvalue(f): f as $value | map(. + $value);
With that definition, `addvalue(.foo)` will add the current
input's `.foo` field to each element of the array.