corrected the index website

This commit is contained in:
Araq 2012-03-28 20:50:40 +02:00
commit ff3e80279b
2 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,7 @@
var funcs: seq[proc (): int] = @[]
for i in 0..10:
funcs.add((proc (): int = return i * i))
echo(funcs[3]())