Minor fixes

This commit is contained in:
def 2014-07-16 22:36:17 +02:00
commit 0ec510af11
7 changed files with 21 additions and 20 deletions

View file

@ -24,6 +24,7 @@ block:
Parentheses can be used as an expression, but they do not provide end of statement inference, so it is necessary to place semicolons yourself.
``` nimrod
# This doesn't work and I don't know what it should do
square((
var result = newSeq[float]();
for i in 0..1000:
@ -41,4 +42,4 @@ proc square(inSeq: seq[float]): seq[float] = (
result[i] = v*v;
)
)
```
```