1 hour ago · Tech · hide · 0 comments

Printing Lists Aug 14, 2026 To print a comma-separated list, a concise idiom is to optionally print the comma first, before the element: for (items, 0..) |item, item_index| { if (item_index > 0) std.debug.print(", "); std.debug.print("{}", .{item}) }

No comments yet. Log in to reply on the Fediverse. Comments will appear here.