Minor fixes
This commit is contained in:
parent
8397eac55b
commit
0ec510af11
7 changed files with 21 additions and 20 deletions
|
|
@ -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;
|
||||
)
|
||||
)
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue