Skip to content

Commit 2306f3f

Browse files
Some more tweaks
1 parent 11a1df3 commit 2306f3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_blogposts/2024-02-01-release-11-1-0.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ At the beginning of the year, the ReScript team [released ReScript 11.0](/blog/r
1212

1313
This next minor has some wonderful additions to the ReScript toolbelt for you today.
1414

15-
To install, use your favorite package manager to install the new compiler release, e.g.:
15+
Use your favorite package manager to install the new compiler release, e.g.:
1616

1717
```sh
1818
npm install [email protected]
@@ -72,7 +72,7 @@ var result = await $$Bun.$`ls ${filename}`;
7272
</CodeTab>
7373

7474

75-
Of course you can also create your own tag functions in ReScript now as well, it is just a function with the following signature.
75+
Of course you can also create your own tag function in ReScript now as well, it is just a function with the following signature.
7676

7777
```rescript
7878
let myTagFunction : (array<string>, array<'param>) => 'output
@@ -158,7 +158,7 @@ This is particularly useful when dealing with [web components](https://developer
158158

159159
## Omit trailing undefined in external function calls
160160

161-
ReScript 11's uncurried mode allows for much more ergonomic external function bindings, because trailing units were not needed anymore. But, this comes with a potential problem. All arguments, whether they're actually supplied or not, were printed as `undefined` in the resulting JS. This is handled better now, as trailing `undefined`s are automatically omitted.
161+
ReScript 11's uncurried mode allows for much more ergonomic external function bindings, because trailing units are not needed anymore. But, this comes with a potential problem. All arguments, whether they're actually supplied or not, were printed as `undefined` in the resulting JS. This is handled better now, as trailing `undefined`s are automatically omitted.
162162

163163
<CodeTab labels={["ReScript", "JS Output (ReScript 11.0)", "JS Output (ReScript 11.1)"]}>
164164

@@ -200,7 +200,7 @@ var result2 = JSON.stringify(obj, undefined, 2);
200200
201201
Inspired by languages like [Elm](https://package.elm-lang.org/packages/elm/core/latest/Debug#todo) or [Gleam](https://tour.gleam.run/advanced-features/todo/), we introduced a new extension point: [`%todo`](/syntax-lookup#todo).
202202
203-
It is used to tell the compiler that some code still needs to be implemented and it will crash when exectuted.
203+
It is used to tell the compiler that some code still needs to be implemented and it will crash when executed.
204204
205205
<CodeTab labels={["ReScript", "JS Output"]}>
206206
@@ -240,7 +240,7 @@ Of course we also got a bunch of other changes and bug fixes in this release. Ch
240240
241241
242242
## v12 is next
243-
v11.1 marks the completion of the v11 versions feature wise. We will of course continue to support the v11 release series with bug fixes and other important updates. With this release however, our focus for new feature development will move to v12. You'll hear more about v12 and the plans for that version soon.
243+
v11.1 marks the completion of the v11 versions feature wise. We will of course continue to support the v11 release series with bug fixes and other important updates. However, our focus for new feature development will move to v12. You'll hear more about v12 and the plans for that version soon.
244244
245245
## Acknowledgements
246246

0 commit comments

Comments
 (0)