Skip to content

Commit 6c17ecc

Browse files
committed
fix case
1 parent 2ecb4f9 commit 6c17ecc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_blogposts/2025-04-11-introducing-unified-operators.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ In the upcoming ReScript v12, we're upgrading common arithmetic operators to "Un
1414
This means that we can now use a single infix operator syntax for multiple numeric types, and even for string concatenation.
1515

1616
```res
17-
let add_int = 1 + 2
18-
let add_float = 1.0 + 2.0
19-
let concat_string = "Hello" + ", World!"
17+
let addInt = 1 + 2
18+
let addFloat = 1.0 + 2.0
19+
let concatString = "Hello" + ", World!"
2020
```
2121

22-
[Try in the playground](https://rescript-lang.org/try?version=v12.0.0-alpha.10&module=esmodule&code=DYUwLgBAhgJjD6BLAdpAvBAjBA1BATAFCiSwIBmwA9lOlgHQAMuBTx4EAxlcp7fAGcwAJxQBzCBgBEACRDBqUllIA0EAOpVhwGAEIphIA)— it just works since `v12.0.0-alpha.5`. We don't need `+.` and `++` anymore. 🥳
22+
[Try in the playground](https://rescript-lang.org/try?version=v12.0.0-alpha.5&module=esmodule&code=DYUwLgBAhgJjCSA7SBeCBGCBqCAmAUKJLDAGLAD2UqGAdAAzZ4OHgQDGFi71AymACcAlogDmENACIAEiGCVJTSQBoIAdQoDgMAIST8QA)— it just works since `v12.0.0-alpha.5`. We don't need `+.` and `++` anymore. 🥳
2323

2424
This post covers both the reasoning behind the change and what’s next on the roadmap. If you're interested in the implementation details, you’ll find them in [the pull request](https://github.com/rescript-lang/rescript/pull/7057).
2525

0 commit comments

Comments
 (0)