17 lines
246 B
Vala
17 lines
246 B
Vala
|
using Gee;
|
||
|
|
||
|
void main () {
|
||
|
var l = new ArrayList<string> ();
|
||
|
|
||
|
for (var i = 0; i < 8; ++i)
|
||
|
l.add (i.to_string ());
|
||
|
|
||
|
var it = l.bidir_list_iterator ();
|
||
|
it.first ();
|
||
|
|
||
|
while (it.valid) {
|
||
|
stdout.printf ("%s\n", it.get ());
|
||
|
it.next ();
|
||
|
}
|
||
|
}
|