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

Confusing references to mel.obj in Reason syntax #192

Open
jchavarri opened this issue Oct 7, 2024 · 0 comments
Open

Confusing references to mel.obj in Reason syntax #192

jchavarri opened this issue Oct 7, 2024 · 0 comments

Comments

@jchavarri
Copy link
Member

In the docs, it's mentioned:

To create values, the [%mel.obj] extension is used, and the ## infix operator allows to read from the object properties:

image

And below:

We have already explored one approach for creating JavaScript object literals by using Js.t values and the mel.obj extension.

image

The above does not make sense in Reason syntax, where mel.obj is replaced by syntax sugar (records with keys as constant strings).

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

1 participant