4 ms·
That looks way better than the while or for loop you usually see. Maybe this could be done in Zig as a comptime function?
by Zababa 5y ago
That looks way better than the while or for loop you usually see. Maybe this could be done in Zig as a comptime function?
- hota_mazi 5y agoAlso note that this is not a special syntax, it's a library function called `repeat()` which leverages Kotlin's support for out-ouf-parens closures.