Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

hasForEachLoops

< >
Example from Pug:
ul each val in [1, 2, 3, 4, 5] li= val
Example from C3:
foreach (x : list) { foo(x); }
Example from Cyber:
for worlds each w: print 'Hello, {w}!'
Example from Jule:
for x, y in my_enumerable { // ... }
Example from Speedie:
|| items = [5,6,7,8] for i in items printline i

Languages with hasForEachLoops include Pug, C3, Cyber, Jule, Speedie, hecl

HTML of this page generated by Features.ts

View source

- Build the next great programming language About Acknowledgements Extensions Day 625 feedback@pldb.io