Iterators: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
(Added AutoHotkey)
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
Line 1,366:
 
The iterator protocol methods are not usually called directly as Wren's 'for' statement (and the Sequence methods) call them automatically under the hood. However, in the spirit of this task, they are called directly.
<syntaxhighlight lang="ecmascriptwren">import "./llist" for DLinkedList
 
// Use iterators to print all elements of the sequence.
9,476

edits