Skip to content

Commit 7dd7431

Browse files
committed
tweak the wording
1 parent ecae6f6 commit 7dd7431

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_blogposts/2020-09-25-release-8-3.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In this release, we make the `bs.` prefix optional, this will make the FFI less
2929
For example, the old externals for `readFileAsUtf8Sync` used to be written like this
3030

3131

32-
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML (Older Syntax)"]}>
32+
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML Syntax"]}>
3333

3434
```res
3535
@bs.val @bs.module("fs")
@@ -48,7 +48,7 @@ external readFileAsUtf8Sync : string -> (_[@bs.as "utf8"]) -> string = "readFile
4848

4949
It can now be simplified as
5050

51-
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML (Older Syntax)"]}>
51+
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML Syntax"]}>
5252

5353
```res
5454
@val @module("fs") external readFileAsUtf8Sync: (string, @as("utf8") _) => string = "readFileSync"
@@ -78,7 +78,7 @@ backward compatibility.
7878

7979
If you use es6 module output, the default bindings will be compiled properly now:
8080

81-
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML (Older Syntax)"]}>
81+
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML Syntax"]}>
8282

8383
```res
8484
@module("hello") external input: string => string = "default"
@@ -133,7 +133,7 @@ for example, Next.js/React Native, we allow file names like `404.res`,
133133

134134
Previously, for code like this:
135135

136-
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML (Older Syntax)"]}>
136+
<CodeTab labels={["ReScript", "Reason (Old Syntax)", "ML Syntax"]}>
137137

138138
```res
139139
module N = {

0 commit comments

Comments
 (0)