fixed a typo and a broken external link (#2554)

This commit is contained in:
Matt Doherty 2016-11-02 10:34:31 +00:00 committed by ven
parent e52cfdfde5
commit fe5a751c42

View File

@ -6,9 +6,8 @@ contributors:
filename: learnkdb.q filename: learnkdb.q
--- ---
The q langauge and its database component kdb+ were developed by Arthur The q langauge and its database component kdb+ were developed by Arthur Whitney
Whitney and released by Kx systems in 2003. q is a descendant of and released by Kx systems in 2003. q is a descendant of APL and as such is
[APL](https://en.wikipedia.org/wiki/APL_(programming_language)) and as such is
very terse and a little strange looking for anyone from a "C heritage" language 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 background. Its expressiveness and vector oriented nature make it well suited
to performing complex calculations on large amounts of data (while also 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 / 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 / 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" / 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) {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" / If the first argument is a function, we have the equivalent of "while"