system.nim: typo
This commit is contained in:
parent
957105520f
commit
8b54db06cb
2 changed files with 5 additions and 3 deletions
|
|
@ -9,3 +9,5 @@ var a = @[1, 2, 3, 4]
|
|||
var b: array[3, array[2, float]] = [[1.0,2], [3.0,4], [8.0,9]]
|
||||
echo a[1.. ^1], a[^2], a[^3], a[^4]
|
||||
echo b[^1][^1], " ", (b[^2]).foo(b[^1])[^1]
|
||||
|
||||
b[^1] = [8.8, 8.9]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue