Skip to content

Inconsistent Array behavior #712

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

Closed
pdewacht opened this issue Sep 7, 2023 · 1 comment
Closed

Inconsistent Array behavior #712

pdewacht opened this issue Sep 7, 2023 · 1 comment
Milestone

Comments

@pdewacht
Copy link

pdewacht commented Sep 7, 2023

The installation page tells new users to start a project by cloning rescript-lang/rescript-project-template.

This template uses the Core library and I think as a result arrays no longer behave as documented: in the example on that page, myArray[0] would return Some("hello") rather than "hello".

I have no opinion on how this should be resolved, but the current situation is rather confusing for new users. If new projects are supposed to use Core, then the documentation should describe the Core behavior.

@fhammerschmidt
Copy link
Member

This is fixed now.

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