items = collector { collect(10) for(i;2) collect(i) collect(20) } echo(items) # Outputs: [10,0,1,20] # Or start with few items: items = collector/[100,200] { collect(10) for(i;2) collect(i) collect(20) } echo(items) # Outputs: [100,200,10,0,1,20]