scope of iteration variable
In current state of Mojo, variable
i
is visible only inside the loop, which means that i
outside the loop is another i
. Is this only temporary solution or there are greater pros to keep this?2 Replies
Related GH issue: https://github.com/modularml/mojo/issues/331
Mine 😁