Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified for loop #75

Closed
octoxalis opened this issue Aug 2, 2022 · 1 comment
Closed

Simplified for loop #75

octoxalis opened this issue Aug 2, 2022 · 1 comment

Comments

@octoxalis
Copy link

This kind of for loop (/lib/util/Arrays.v3) is not documented in the tutorial:

for (i < index) n[i] = array[i];

What about initialization and incrementation of i variable?

@titzer
Copy link
Owner

titzer commented Aug 2, 2022

You're right, it wasn't documented. I added documentation in the tutorial. Thanks for pointing this out!

@titzer titzer closed this as completed Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants