system.nim: typo

This commit is contained in:
Andreas Rumpf
2017-10-29 21:32:42 +01:00
parent 957105520f
commit 8b54db06cb
2 changed files with 5 additions and 3 deletions

View File

@@ -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]