You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to allow the user to bind their own name to the for loop's inner variable, and the code to do so is actually simpler than the current, more limited implementation.
A basic simplification is demonstrated as follows:
This also possibly could allow for the user to define multiple local values, since we're no longer doing any weird rebind tricks for their names. This would need more experimenting though, and might require multiple return to make sense, something Heresy doesn't support (and I'm not sure I'd want it to).
The text was updated successfully, but these errors were encountered:
It is possible to allow the user to bind their own name to the for loop's inner variable, and the code to do so is actually simpler than the current, more limited implementation.
A basic simplification is demonstrated as follows:
This also possibly could allow for the user to define multiple local values, since we're no longer doing any weird rebind tricks for their names. This would need more experimenting though, and might require multiple return to make sense, something Heresy doesn't support (and I'm not sure I'd want it to).
The text was updated successfully, but these errors were encountered: