From 79b40a7ef62ff30d2d35b883d12b3308ef430c3d Mon Sep 17 00:00:00 2001 From: flaviut Date: Wed, 16 Jul 2014 18:37:05 -0400 Subject: [PATCH] Change in arrays from a while ago --- content/arrays.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/content/arrays.md b/content/arrays.md index d9d3bf4..6481567 100644 --- a/content/arrays.md +++ b/content/arrays.md @@ -51,12 +51,7 @@ proc `+`[W, H](a, b: Matrix[W, H]): for j in 1..high(a[0]): result[i][j] = a[i][j] + b[i][j] -proc `$`[W, H](a: Matrix[W, H]): string = - result = "" - for v in a: - for vx in v: - result.add($vx & ", ") - result.add("\n") +# See `$` from the procs section echo mat1 + mat2 ```