diff options
author | pkoppstein <pkoppstein@gmail.com> | 2015-08-04 21:40:16 -0400 |
---|---|---|
committer | pkoppstein <pkoppstein@gmail.com> | 2015-08-04 21:40:16 -0400 |
commit | d66fbd218bfccf83b42448febd4f255883d726a5 (patch) | |
tree | e7ee49d8081736ece8d53e5ee68b75d3ecaee582 | |
parent | b5edbf7ffa0cbe06d721103edc74856a5b528947 (diff) |
Clarify documentation of STRING * INTEGER
-rw-r--r-- | docs/content/3.manual/manual.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 5c1bd551..f69f5f9c 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -612,13 +612,14 @@ sections: - title: Multiplication, division, modulo - `*`, `/`, and `%` body: | - These operators only work on numbers, and do the expected. + These infix operators behave as expected when given two numbers. + Division by zero raises an error. `x % y` computes x modulo y. Multiplying a string by a number produces the concatenation of - that string that many times. + that string that many times. `"x" * 0` produces **null**. Dividing a string by another splits the first using the second - as separators. Division by zero raises an error. + as separators. Multiplying two objects will merge them recursively: this works like addition but if both objects contain a value for the |