Refactor: Modernize `foreach` code and fix some bugs
- fix the typo in
foreach
documentation - fix broken
foreach(... IN ITEMS ... LISTS ...)
- add tests of
foreach
for existed functionality and fixes
Topic-rename: refactor-foreach
foreach
documentationforeach(... IN ITEMS ... LISTS ...)
foreach
for existed functionality and fixesTopic-rename: refactor-foreach