Iterators: Difference between revisions

Content added Content deleted
(Iterators en FreeBASIC)
m (J: improve grammar slightly)
Line 152: Line 152:


=={{header|J}}==
=={{header|J}}==
J's operations are designed to be applied to the data structure as a whole, and this explicitly includes mapping between representations. Also, all data in J is array-like, and type is data. And this necessarily includes linked lists (though we can introduce arbitrarily complex mechanisms to obfuscate a linked list structure).
J's operations are designed to be applied to the data structure as a whole, and this explicitly includes mapping between representations. Also, in J, all data is array-like, and type is data. And this necessarily includes linked lists (though we can introduce arbitrarily complex mechanisms to obfuscate a linked list structure).


Still, one approach here might be:
Still, one approach here might be: