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

chore: Update array docs to use u32 for the length type #6408

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clarus
Copy link

@clarus clarus commented Oct 30, 2024

It seems the return type of len is u32 according to https://github.com/noir-lang/noir/blob/master/noir_stdlib/src/array/mod.nr

Also, I am wondering if indices in for loops are u32 also, or should be, as according to the beginning of https://noir-lang.org/docs/noir/concepts/data_types/integers they are u64.

Thanks!

Copy link
Contributor

Thank you for your contribution to the Noir language.

Please do not force push to this branch after the Noir team have started review of this PR. Doing so will only delay us merging your PR as we will need to start the review process from scratch.

Thanks for your understanding.

@jfecher jfecher changed the title Update arrays.md chore: Update arrays.md Oct 30, 2024
@jfecher jfecher changed the title chore: Update arrays.md chore: Update array docs to use u32 for the length type Oct 30, 2024
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

Successfully merging this pull request may close these issues.

1 participant