Mention iterators
This commit is contained in:
parent
4abd738f6b
commit
73d6c89676
3 changed files with 27 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ Nimrod supports three different types of variables, `let`, `var`, and `const`. A
|
|||
``` nimrod
|
||||
proc getAlphabet(): string =
|
||||
var accm = ""
|
||||
for letter in 'a'..'z':
|
||||
for letter in 'a'..'z': # see iterators
|
||||
accm.add(letter)
|
||||
return accm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue