From c81e3bc701ab1d8b208bc0294292d5e6e4245d8a Mon Sep 17 00:00:00 2001 From: abdullhakim-sami <136203274+abdullhakim-sami@users.noreply.github.com> Date: Sat, 24 Jun 2023 13:40:41 -0700 Subject: [PATCH] Update migrate-from-bucklescript-reason.mdx --- pages/docs/manual/latest/migrate-from-bucklescript-reason.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/manual/latest/migrate-from-bucklescript-reason.mdx b/pages/docs/manual/latest/migrate-from-bucklescript-reason.mdx index 3b101c190..ac3fce54f 100644 --- a/pages/docs/manual/latest/migrate-from-bucklescript-reason.mdx +++ b/pages/docs/manual/latest/migrate-from-bucklescript-reason.mdx @@ -47,7 +47,7 @@ npx rescript convert -all - Complete removal of semicolon (you can still write them). - No need for parentheses around `if`, `switch` and `try`. - Type arguments: from `option(int)` to `option`. -- Old interpolated string: from `{j|hello ${name}|j}` to `` j`hello ${name}` ``. Now with proper unicode support! +- Old interpolated string: from `{j|hello ${name}|j}` to `` `hello ${name}` ``. Now with proper unicode support! - New interpolated string: `` `hello world` ``. Also supports multiline and unicode. `"hello world"` string is now singleline. - Polymorphic variants: from `` `red`` to `#red`. - Arrays: from `[|1,2,3|]` to `[1,2,3]`. In JS, arrays are the right default.