▲ 2 points
back
1 comments
for (items, 0..) |item, item_index| {
std.debug.print("{}", .{item});
} then {
std.debug.print(", ");
}
Open the proposal today and see it rejected! Frankly, that seems like a much more useful core feature than "else" after the for/while blocks but oh well.