Typo fixing round

Light check over all scarpet docs

Resolves #1626, resolves #1613, resolves #1597, some of the fixes are from these
This commit is contained in:
altrisi committed 2023-01-18 14:14:36 +01:00
1 parent 0e8b53c8d3
commit 005368c3d9
12 files changed
+34 -37

No files matched your search

+2 -2
View File
@@ -222,7 +222,7 @@ A set of assignment operators. All require bounded variable on the LHS, `<>` req
right hand side as well (bounded, meaning being variables). Additionally they can also handle list constructors
with all bounded variables, and work then as list assignment operators. When `+=` is used on a list, it extends
that list of that element, and returns the list (old == new). `scarpet` doesn't support currently removal of items.
Removal of items can be obtaine via `filter` command, and reassigning it fo the same variable. Both operations would
Removal of items can be obtained via `filter` command, and reassigning it fo the same variable. Both operations would
require rewriting of the array anyways.
<pre>
@@ -276,7 +276,7 @@ args() -> ... [1, 2, 3]; sum(a, b, c) -> a+b+c; sum(args()) => 6
a = ... [1, 2, 3]; sum(a, b, c) -> a+b+c; sum(a) => 6
</pre>
Unpacking mechanics can be used for list and map constriction, not just for function calls.
Unpacking mechanics can be used for list and map construction, not just for function calls.
<pre>
[...range(5), pi, ...range(5,-1,-1)] => [0, 1, 2, 3, 4, 3.14159265359, 5, 4, 3, 2, 1, 0]