This was what I wanted to know at the top of the thread. It is clear to me what the changes are now.
foreach … done is comme ci comme ça. Shortens the code but I usually do complex stuff, including repeat $!-1 l[$<] ... endl done and commands and selections between the repeat and local and endl and done.
Yes, indeed sometimes the usual repeat..done construct will be more adapted.
It’s just a proposal for another construct that will simplify maybe 80% of the commands in stdlib