melange-re.github.io
melange-re.github.io copied to clipboard
Confusing references to `mel.obj` in Reason syntax
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:
And below:
We have already explored one approach for creating JavaScript object literals by using Js.t values and the mel.obj extension.
The above does not make sense in Reason syntax, where mel.obj is replaced by syntax sugar (records with keys as constant strings).