diff options
author | Matt Doherty <matt.d.doc@gmail.com> | 2016-11-02 10:34:31 +0000 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2016-11-02 11:34:31 +0100 |
commit | fe5a751c42cf49c48a23807fdf6965eb411aab69 (patch) | |
tree | 0fdc6604bb83828d82e63c8661f7dca2660ce963 | |
parent | e52cfdfde56f7fb62d55191f9737343e3175979b (diff) |
fixed a typo and a broken external link (#2554)
-rw-r--r-- | kdb+.html.markdown | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kdb+.html.markdown b/kdb+.html.markdown index ae132451..dc7a3500 100644 --- a/kdb+.html.markdown +++ b/kdb+.html.markdown @@ -6,9 +6,8 @@ contributors: filename: learnkdb.q --- -The q langauge and its database component kdb+ were developed by Arthur -Whitney and released by Kx systems in 2003. q is a descendant of -[APL](https://en.wikipedia.org/wiki/APL_(programming_language)) and as such is +The q langauge and its database component kdb+ were developed by Arthur Whitney +and released by Kx systems in 2003. q is a descendant of APL and as such is very terse and a little strange looking for anyone from a "C heritage" language background. Its expressiveness and vector oriented nature make it well suited to performing complex calculations on large amounts of data (while also @@ -698,7 +697,7 @@ first each (1 2 3;4 5 6;7 8 9) / their behaviour differs based on the number of arguments the function they / are modifying receives. Here I'll summarise some of the most useful cases / a single argument function modified by scan given 2 args behaves like "do" -{x * 2}\[5;1] / => 1 2 4 8 16 3 (i.e. multiply by 2, 5 times) +{x * 2}\[5;1] / => 1 2 4 8 16 32 (i.e. multiply by 2, 5 times) {x * 2}/[5;1] / => 32 (using over only the final result is shown) / If the first argument is a function, we have the equivalent of "while" |