Skip to content

Commit abc7edf

Browse files
Jason Mendeschenglou
authored andcommitted
Fix typos in Belt Module overview (#2607)
1 parent 081a517 commit abc7edf

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/api/Belt.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
110110

111111
The motivation of creating such library is to provide BuckleScript users a
112112
better end-to-end user experience, since the original OCaml stdlib was not
113-
writte with JS platform in mind, below are a list of areas this lib aims to
113+
written with JS platform in mind, below are a list of areas this lib aims to
114114
improve: <OL>
115115
<li>1. Consistency in name convention: camlCase, and arguments order</li>
116116
<li>2. Exception thrown functions are all suffixed with <i>Exn</i>, e.g, <i>getExn</i></li>
117-
<li>3. Beter peformance and smaller code size running on JS platform</li>
117+
<li>3. Better performance and smaller code size running on JS platform</li>
118118
</OL>
119119

120120
<p>
@@ -183,7 +183,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
183183
<code class="code">I0.identity</code> and <code class="code">I1.identity</code> are not the same using our encoding scheme.
184184
<p>
185185

186-
<b>Collection Hierachy</b>
186+
<b>Collection Hierarchy</b>
187187
<p>
188188

189189
In general, we provide a generic collection module, but also create specialized
@@ -201,7 +201,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
201201
<p>
202202

203203
Currently, both <i>Belt_Set</i> and <i>Belt.Set</i> are accessible to users for some
204-
technical rasons,
204+
technical reasons,
205205
we <b>strongly recommend</b> users stick to qualified import, <i>Belt.Sort</i>, we may hide
206206
the internal, <i>i.e</i>, <i>Belt_Set</i> in the future<br>
207207

@@ -216,11 +216,11 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
216216
<a href="Belt.Id.html"><code class="code">Belt.Id</code></a>
217217
<p>
218218

219-
Provide utiliites to create identified comparators or hashes for
219+
Provide utilities to create identified comparators or hashes for
220220
data structures used below.
221221
<p>
222222

223-
It create a unique identifer per module of
223+
It create a unique identifier per module of
224224
functions so that different data structures with slightly different
225225
comparison functions won't mix<br>
226226

@@ -231,7 +231,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
231231
<a href="Belt.Array.html"><code class="code">Belt.Array</code></a>
232232
<p>
233233

234-
<b>mutable array</b>: Utililites functions<br>
234+
<b>mutable array</b>: Utilities functions<br>
235235

236236
</div>
237237
</div>
@@ -240,7 +240,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
240240
<a href="Belt.SortArray.html"><code class="code">Belt.SortArray</code></a>
241241
<p>
242242

243-
The toplevel provides some generic sort related utililties.
243+
The top level provides some generic sort related utilities.
244244
<p>
245245

246246
It also has two specialized inner modules
@@ -289,15 +289,15 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
289289
<a href="Belt.Set.html"><code class="code">Belt.Set</code></a>
290290
<p>
291291

292-
The toplevel provides generic <b>immutable</b> set operations.
292+
The top level provides generic <b>immutable</b> set operations.
293293
<p>
294294

295295
It also has three specialized inner modules
296296
<code class="code">Belt.Set.Int</code> and <code class="code">Belt.Set.String</code>
297297
<p>
298298

299299
<code class="code">Belt.Set.Dict</code>: This module separate date from function
300-
which is more verbbose but slightly more efficient<br>
300+
which is more verbose but slightly more efficient<br>
301301

302302
</div>
303303
</div>
@@ -306,15 +306,15 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
306306
<a href="Belt.Map.html"><code class="code">Belt.Map</code></a>,
307307
<p>
308308

309-
The toplevel provides generic <b>immutable</b> map operations.
309+
The top level provides generic <b>immutable</b> map operations.
310310
<p>
311311

312312
It also has three specialized inner modules
313313
<code class="code">Belt.Map.Int</code> and <code class="code">Belt.Map.String</code>
314314
<p>
315315

316316
<code class="code">Belt.Map.Dict</code>: This module separate date from function
317-
which is more verbbose but slightly more efficient<br>
317+
which is more verbose but slightly more efficient<br>
318318

319319
</div>
320320
</div>
@@ -323,7 +323,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
323323
<a href="Belt.MutableSet.html"><code class="code">Belt.MutableSet</code></a>
324324
<p>
325325

326-
The toplevel provides generic <b>mutable</b> set operations.
326+
The top level provides generic <b>mutable</b> set operations.
327327
<p>
328328

329329
It also has two specialized inner modules
@@ -336,7 +336,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
336336
<a href="Belt.MutableMap.html"><code class="code">Belt.MutableMap</code></a>
337337
<p>
338338

339-
The toplevel provides generic <b>mutable</b> map operations.
339+
The top level provides generic <b>mutable</b> map operations.
340340
<p>
341341

342342
It also has two specialized inner modules
@@ -349,7 +349,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
349349
<a href="Belt.HashSet.html"><code class="code">Belt.HashSet</code></a>
350350
<p>
351351

352-
The toplevel provides generic <b>mutable</b> hash set operations.
352+
The top level provides generic <b>mutable</b> hash set operations.
353353
<p>
354354

355355
It also has two specialized inner modules
@@ -362,7 +362,7 @@ <h1>Module <a href="type_Belt.html">Belt</a></h1>
362362
<a href="Belt.HashMap.html"><code class="code">Belt.HashMap</code></a>
363363
<p>
364364

365-
The toplevel provides generic <b>mutable</b> hash map operations.
365+
The top level provides generic <b>mutable</b> hash map operations.
366366
<p>
367367

368368
It also has two specialized inner modules

0 commit comments

Comments
 (0)