~sircmpwn/harelang.org

52cd11230eaa777b400ef3d7df09c707e5fa6792 — Lorenz (xha) 16 days ago 823e7be
blog: for-each loops fix link

Signed-off-by: Lorenz (xha) <me@xha.li>
1 files changed, 2 insertions(+), 0 deletions(-)

M content/blog/2024-04-01-Introducing-for-each-loops-in-Hare.md
M content/blog/2024-04-01-Introducing-for-each-loops-in-Hare.md => content/blog/2024-04-01-Introducing-for-each-loops-in-Hare.md +2 -0
@@ 66,6 66,8 @@ bigger changes to Hare. This is especially important for new language features
such as for-each. In the three revisions to the RFC, we found solutions for a
number of challenges.

[0]: https://git.sr.ht/~sircmpwn/hare/tree/master/item/docs/rfc.md

First of all, there was the syntax question. Do we want `foreach`? Or should we integrate it
into `for`? We quickly reached the conclusion that it is best to introduce a new
syntax to `for` instead of `foreach`, because it should remain the only statement