syntax
syntax copied to clipboard
Escaped infix functions are OCaml infixes
let eq = \"="
let shalloweq = \"=="
let concat = \"^"
let concat = \"++" // Error: "The value ++ can't be found"
Maybe this is intentional? I know infixes are on track to change soon, but currently it's weird to see OCaml infixes here instead of ReScript ones.
Still looking into the best way to solve this.
The rescript-lang/syntax repo is obsolete and will be archived soon. If this issue is still relevant, please reopen in the compiler repo (https://github.com/rescript-lang/rescript-compiler) or comment here to ask for it to be moved. Thank you for your contributions.