Loops/Foreach: Difference between revisions

Content added Content deleted
Line 806: Line 806:
This would perfectly work with any custom iterator as well:
This would perfectly work with any custom iterator as well:


<lang Dyalect>
<lang Dyalect>func myCollection() {
func myCollection() {
yield 1
yield 1
yield 2
yield 2