parent
86669ef5b4
commit
a39123c93c
3 changed files with 17 additions and 1 deletions
10
tests/arc/amodule.nim
Normal file
10
tests/arc/amodule.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
var vectors = @["a", "b", "c", "d", "e"]
|
||||
|
||||
iterator testVectors(): string =
|
||||
for vector in vectors:
|
||||
yield vector
|
||||
|
||||
var r = ""
|
||||
for item in testVectors():
|
||||
r.add item
|
||||
echo r
|
||||
Loading…
Add table
Add a link
Reference in a new issue