diff options
author | Divay Prakash <divayprakash@users.noreply.github.com> | 2018-10-24 11:30:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 11:30:23 +0530 |
commit | adfd3064e52e769dc46f62d8302be7e28be4e48d (patch) | |
tree | 204d82adc9f82ae4fe377b631a1406b97eb6b11d /kdb+.html.markdown | |
parent | 92022da0a6ea9417521563de9e537f337c426465 (diff) | |
parent | 8f5a67190705c9a3101653901d8f8a7b48eb1775 (diff) |
Merge branch 'master' into MarkdownFRChanges
Diffstat (limited to 'kdb+.html.markdown')
-rw-r--r-- | kdb+.html.markdown | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdb+.html.markdown b/kdb+.html.markdown index 097f177b..027b6571 100644 --- a/kdb+.html.markdown +++ b/kdb+.html.markdown @@ -689,14 +689,14 @@ first each (1 2 3;4 5 6;7 8 9) / each-left (\:) and each-right (/:) modify a two-argument function / to treat one of the arguments and individual variables instead of a list -1 2 3 +\: 1 2 3 -/ => 2 3 4 -/ => 3 4 5 -/ => 4 5 6 -1 2 3 +/: 1 2 3 -/ => 2 3 4 -/ => 3 4 5 -/ => 4 5 6 +1 2 3 +\: 11 22 33 +/ => 12 23 34 +/ => 13 24 35 +/ => 14 25 36 +1 2 3 +/: 11 22 33 +/ => 12 13 14 +/ => 23 24 25 +/ => 34 35 36 / The true alternatives to loops in q are the adverbs scan (\) and over (/) / their behaviour differs based on the number of arguments the function they |