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

Update primitive-types.mdx #995

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

Conversation

m-rinaldi
Copy link

No description provided.

Copy link

vercel bot commented Apr 1, 2025

@m-rinaldi is attempting to deploy a commit to the ReScript Association Team on Vercel.

A member of the Team first needs to authorize it.

@fhammerschmidt
Copy link
Member

fhammerschmidt commented Apr 3, 2025

Thanks!
While this suggestion works, the String.get from ReScript Core does not return a char either. ReScript Core has no Char module so one would need to use OCamlCompat.String instead.

Currently it looks like it won't be in V12 either (at least from the start) since we are almost done stabilizing the standard library and probably won't add another module until the corresponding RFC is implemented: rescript-lang/rescript#7028

Would you be up to adapt the text so that it suggests to use OCamlCompat instead?

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.

2 participants