spelling corrections; untabify
Conflicts: docs/content/3.manual/manual.yml
This commit is contained in:
1 parent
5843bb350f
commit
c4ee746b16
1 file changed
+6
-6
@@ -237,13 +237,13 @@ sections:
|
|||||||
|
|
||||||
(This option is like `--slurpfile`, but when the file has just
|
(This option is like `--slurpfile`, but when the file has just
|
||||||
one text, then that is used, else an array of texts is used as
|
one text, then that is used, else an array of texts is used as
|
||||||
in `--slurfile`.)
|
in `--slurpfile`.)
|
||||||
|
|
||||||
* `--run-tests [filename]`:
|
* `--run-tests [filename]`:
|
||||||
|
|
||||||
Runs the tests in the given file or standard input. This must
|
Runs the tests in the given file or standard input. This must
|
||||||
be the last option given and does not honor all preceding
|
be the last option given and does not honor all preceding
|
||||||
options. The input consts of comment lines, empty lines, and
|
options. The input consists of comment lines, empty lines, and
|
||||||
program lines followed by one input line, as many lines of
|
program lines followed by one input line, as many lines of
|
||||||
output as are expected (one per output), and a terminating empty
|
output as are expected (one per output), and a terminating empty
|
||||||
line. Compilation failure tests start with a line containing
|
line. Compilation failure tests start with a line containing
|
||||||
@@ -338,7 +338,7 @@ sections:
|
|||||||
|
|
||||||
The `.foo` syntax only works for simply keys i.e. keys that
|
The `.foo` syntax only works for simply keys i.e. keys that
|
||||||
are all alphanumeric characters. `.[<string>]` works with
|
are all alphanumeric characters. `.[<string>]` works with
|
||||||
keys that contain special charactors such as colons and dots.
|
keys that contain special characters such as colons and dots.
|
||||||
For example `.["foo::bar"]` and `.["foo.bar"]` work while
|
For example `.["foo::bar"]` and `.["foo.bar"]` work while
|
||||||
`.foo::bar` and `.foo.bar` would not.
|
`.foo::bar` and `.foo.bar` would not.
|
||||||
|
|
||||||
@@ -598,7 +598,7 @@ sections:
|
|||||||
body: |
|
body: |
|
||||||
|
|
||||||
As well as normal arithmetic subtraction on numbers, the `-`
|
As well as normal arithmetic subtraction on numbers, the `-`
|
||||||
operator can be used on arrays to remove all occurences of
|
operator can be used on arrays to remove all occurrences of
|
||||||
the second array's elements from the first array.
|
the second array's elements from the first array.
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
@@ -1625,7 +1625,7 @@ sections:
|
|||||||
|
|
||||||
* `@json`:
|
* `@json`:
|
||||||
|
|
||||||
Serialises the input as JSON.
|
Serializes the input as JSON.
|
||||||
|
|
||||||
* `@html`:
|
* `@html`:
|
||||||
|
|
||||||
@@ -2416,7 +2416,7 @@ sections:
|
|||||||
function can be recursive. The `while` builtin is also
|
function can be recursive. The `while` builtin is also
|
||||||
implemented in terms of recursion.
|
implemented in terms of recursion.
|
||||||
|
|
||||||
Tail calls are optmized whenever the expression to the left of
|
Tail calls are optimized whenever the expression to the left of
|
||||||
the recursive call outputs its last value. In practice this
|
the recursive call outputs its last value. In practice this
|
||||||
means that the expression to the left of the recursive call
|
means that the expression to the left of the recursive call
|
||||||
should not produce more than one output for each input.
|
should not produce more than one output for each input.
|
||||||
|
|||||||
Reference in new issue
Block a user