Skip to content

Commit b731c6e

Browse files
committed
1 parent 9148b09 commit b731c6e

36 files changed

+1675
-1675
lines changed

Diff for: docs/api/Belt.HashMap.html

+33-33
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<link rel="stylesheet" href="../api_static/style.css" type="text/css">
66
<script src="../api_static//highlight.pack.js"></script>
77
<script src="../api_static//script.js"></script>
8-
<script>hljs.initHighlightingOnLoad();</script>
8+
<script>hljs.initHighlightingOnLoad();</script>
99
<meta charset="utf8">
1010
<link rel="previous" href="Belt.HashSet.html"><link rel="next" href="Belt.Option.html">
11-
<title> Belt.HashMap </title></head>
11+
<title> Belt.HashMap </title></head>
1212
<body>
1313
<nav class="module-index"><ul><li><a href="Belt.html">Belt</a></li>
1414
<li><a href="Belt_Array.html">Belt_Array</a></li>
@@ -108,38 +108,38 @@ <h1>Module <a href="type_Belt.HashMap.html">Belt.HashMap</a></h1>
108108

109109
It also has two specialized inner modules
110110
<code class="code">Belt.HashMap.Int</code> and <code class="code">Belt.HashMap.String</code><br>
111-
111+
112112
</div>
113-
113+
114114
</div>
115115

116116
<hr width="100%">
117117

118-
<pre><span class="keyword">module</span> <a href="Belt_HashMap.Int.html">Int</a>: <code class="type"><a href="Belt_HashMapInt.html">Belt_HashMapInt</a></code></pre> <div class="info">
118+
<pre><span class="keyword">module</span> <a href="Belt_HashMap.Int.html">Int</a>: <code class="type"><a href="Belt_HashMapInt.html">Belt_HashMapInt</a></code></pre> <div class="info">
119119
<div class="not-examples">
120120
Specalized when key type is <code class="code">int</code>, more efficient
121-
than the gerneic type<br>
122-
121+
than the generic type<br>
122+
123+
</div>
123124
</div>
124-
</div>
125-
<pre><span class="keyword">module</span> <a href="Belt_HashMap.String.html">String</a>: <code class="type"><a href="Belt_HashMapString.html">Belt_HashMapString</a></code></pre> <div class="info">
125+
<pre><span class="keyword">module</span> <a href="Belt_HashMap.String.html">String</a>: <code class="type"><a href="Belt_HashMapString.html">Belt_HashMapString</a></code></pre> <div class="info">
126126
<div class="not-examples">
127127
Specalized when key type is <code class="code">string</code>, more efficient
128-
than the gerneic type<br>
129-
128+
than the generic type<br>
129+
130130
</div>
131131
</div> <div class="type-declaration">
132132
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type">('key, 'value, 'id)</code> t</span> </pre>
133133
</div>
134134
<div class="info ">
135135
<div class="not-examples">
136136
The type of hash tables from type <code class="code">'key</code> to type <code class="code">'value</code>.<br>
137-
137+
138138
</div>
139-
139+
140140
</div>
141141

142-
142+
143143
<div class="type-declaration">
144144
<pre><span id="TYPEid"><span class="keyword">type</span> <code class="type">('a, 'id)</code> id</span> = <code class="type">('a, 'id) <a href="Belt_Id.html#TYPEhashable">Belt_Id.hashable</a></code> </pre>
145145
</div>
@@ -149,48 +149,48 @@ <h1>Module <a href="type_Belt.HashMap.html">Belt.HashMap</a></h1>
149149
<pre><span id="VALclear"><span class="keyword">val</span> clear</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
150150
<div class="not-examples">
151151
Empty a hash table.<br>
152-
152+
153153
</div>
154-
154+
155155
</div>
156156

157-
157+
158158
<pre><span id="VALisEmpty"><span class="keyword">val</span> isEmpty</span> : <code class="type">('a, 'b, 'c) <a href="Belt_HashMap.html#TYPEt">t</a> -> bool</code></pre>
159159
<pre><span id="VALset"><span class="keyword">val</span> set</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> 'key -> 'value -> unit</code></pre><div class="info ">
160160
<div class="not-examples">
161161
<code class="code">set tbl k v</code> if <code class="code">k</code> does not exist,
162162
add the binding <code class="code">k,v</code>, otherwise, update the old value with the new
163163
<code class="code">v</code><br>
164-
164+
165165
</div>
166-
166+
167167
</div>
168168

169-
169+
170170
<pre><span id="VALcopy"><span class="keyword">val</span> copy</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> ('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a></code></pre>
171171
<pre><span id="VALget"><span class="keyword">val</span> get</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> 'key -> 'value option</code></pre>
172172
<pre><span id="VALhas"><span class="keyword">val</span> has</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> 'key -> bool</code></pre><div class="info ">
173173
<div class="not-examples">
174174
<code class="code">has tbl x</code> checks if <code class="code">x</code> is bound in <code class="code">tbl</code>.<br>
175-
175+
176176
</div>
177-
177+
178178
</div>
179179

180-
180+
181181
<pre><span id="VALremove"><span class="keyword">val</span> remove</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> 'key -> unit</code></pre>
182182
<pre><span id="VALforEachU"><span class="keyword">val</span> forEachU</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> ('key -> 'value -> unit [@bs]) -> unit</code></pre>
183183
<pre><span id="VALforEach"><span class="keyword">val</span> forEach</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> ('key -> 'value -> unit) -> unit</code></pre><div class="info ">
184184
<div class="not-examples">
185185
<code class="code">forEach tbl f</code> applies <code class="code">f</code> to all bindings in table <code class="code">tbl</code>.
186186
<code class="code">f</code> receives the key as first argument, and the associated value
187187
as second argument. Each binding is presented exactly once to <code class="code">f</code>.<br>
188-
188+
189189
</div>
190-
190+
191191
</div>
192192

193-
193+
194194
<pre><span id="VALreduceU"><span class="keyword">val</span> reduceU</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -><br> 'c -> ('c -> 'key -> 'value -> 'c [@bs]) -> 'c</code></pre>
195195
<pre><span id="VALreduce"><span class="keyword">val</span> reduce</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -><br> 'c -> ('c -> 'key -> 'value -> 'c) -> 'c</code></pre><div class="info ">
196196
<div class="not-examples">
@@ -205,29 +205,29 @@ <h1>Module <a href="type_Belt.HashMap.html">Belt.HashMap</a></h1>
205205
However, if the table contains several bindings for the same key,
206206
they are passed to <code class="code">f</code> in reverse order of introduction, that is,
207207
the most recent binding is passed first.<br>
208-
208+
209209
</div>
210-
210+
211211
</div>
212212

213-
213+
214214
<pre><span id="VALkeepMapInPlaceU"><span class="keyword">val</span> keepMapInPlaceU</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -><br> ('key -> 'value -> 'value option [@bs]) -> unit</code></pre>
215215
<pre><span id="VALkeepMapInPlace"><span class="keyword">val</span> keepMapInPlace</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -><br> ('key -> 'value -> 'value option) -> unit</code></pre>
216216
<pre><span id="VALsize"><span class="keyword">val</span> size</span> : <code class="type">('a, 'b, 'c) <a href="Belt_HashMap.html#TYPEt">t</a> -> int</code></pre><div class="info ">
217217
<div class="not-examples">
218218
<code class="code">size tbl</code> returns the number of bindings in <code class="code">tbl</code>.
219219
It takes constant time.<br>
220-
220+
221221
</div>
222-
222+
223223
</div>
224224

225-
225+
226226
<pre><span id="VALtoArray"><span class="keyword">val</span> toArray</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> ('key * 'value) array</code></pre>
227227
<pre><span id="VALkeysToArray"><span class="keyword">val</span> keysToArray</span> : <code class="type">('key, 'a, 'b) <a href="Belt_HashMap.html#TYPEt">t</a> -> 'key array</code></pre>
228228
<pre><span id="VALvaluesToArray"><span class="keyword">val</span> valuesToArray</span> : <code class="type">('a, 'value, 'b) <a href="Belt_HashMap.html#TYPEt">t</a> -> 'value array</code></pre>
229229
<pre><span id="VALfromArray"><span class="keyword">val</span> fromArray</span> : <code class="type">('key * 'value) array -><br> id:('key, 'id) <a href="Belt_HashMap.html#TYPEid">id</a> -> ('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a></code></pre>
230230
<pre><span id="VALmergeMany"><span class="keyword">val</span> mergeMany</span> : <code class="type">('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a> -> ('key * 'value) array -> unit</code></pre>
231231
<pre><span id="VALgetBucketHistogram"><span class="keyword">val</span> getBucketHistogram</span> : <code class="type">('a, 'b, 'c) <a href="Belt_HashMap.html#TYPEt">t</a> -> int array</code></pre>
232232
<pre><span id="VALlogStats"><span class="keyword">val</span> logStats</span> : <code class="type">('a, 'b, 'c) <a href="Belt_HashMap.html#TYPEt">t</a> -> unit</code></pre>
233-
<pre><span id="VALofArray"><span class="keyword">val</span> ofArray</span> : <code class="type">('key * 'value) array -><br> id:('key, 'id) <a href="Belt_HashMap.html#TYPEid">id</a> -> ('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a></code></pre></body></html>
233+
<pre><span id="VALofArray"><span class="keyword">val</span> ofArray</span> : <code class="type">('key * 'value) array -><br> id:('key, 'id) <a href="Belt_HashMap.html#TYPEid">id</a> -> ('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a></code></pre></body></html>

Diff for: docs/api/Belt.HashSet.html

+18-18
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<link rel="stylesheet" href="../api_static/style.css" type="text/css">
66
<script src="../api_static//highlight.pack.js"></script>
77
<script src="../api_static//script.js"></script>
8-
<script>hljs.initHighlightingOnLoad();</script>
8+
<script>hljs.initHighlightingOnLoad();</script>
99
<meta charset="utf8">
1010
<link rel="previous" href="Belt.MutableMap.html"><link rel="next" href="Belt.HashMap.html">
11-
<title> Belt.HashSet </title></head>
11+
<title> Belt.HashSet </title></head>
1212
<body>
1313
<nav class="module-index"><ul><li><a href="Belt.html">Belt</a></li>
1414
<li><a href="Belt_Array.html">Belt_Array</a></li>
@@ -108,25 +108,25 @@ <h1>Module <a href="type_Belt.HashSet.html">Belt.HashSet</a></h1>
108108

109109
It also has two specialized inner modules
110110
<code class="code">Belt.HashSet.Int</code> and <code class="code">Belt.HashSet.String</code><br>
111-
111+
112112
</div>
113-
113+
114114
</div>
115115

116116
<hr width="100%">
117117

118-
<pre><span class="keyword">module</span> <a href="Belt_HashSet.Int.html">Int</a>: <code class="type"><a href="Belt_HashSetInt.html">Belt_HashSetInt</a></code></pre> <div class="info">
118+
<pre><span class="keyword">module</span> <a href="Belt_HashSet.Int.html">Int</a>: <code class="type"><a href="Belt_HashSetInt.html">Belt_HashSetInt</a></code></pre> <div class="info">
119119
<div class="not-examples">
120120
Specalized when key type is <code class="code">int</code>, more efficient
121-
than the gerneic type<br>
122-
121+
than the generic type<br>
122+
123123
</div>
124-
</div>
125-
<pre><span class="keyword">module</span> <a href="Belt_HashSet.String.html">String</a>: <code class="type"><a href="Belt_HashSetString.html">Belt_HashSetString</a></code></pre> <div class="info">
124+
</div>
125+
<pre><span class="keyword">module</span> <a href="Belt_HashSet.String.html">String</a>: <code class="type"><a href="Belt_HashSetString.html">Belt_HashSetString</a></code></pre> <div class="info">
126126
<div class="not-examples">
127127
Specalized when key type is <code class="code">string</code>, more efficient
128-
than the gerneic type<br>
129-
128+
than the generic type<br>
129+
130130
</div>
131131
</div> <div class="type-declaration">
132132
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type">('a, 'id)</code> t</span> </pre>
@@ -148,26 +148,26 @@ <h1>Module <a href="type_Belt.HashSet.html">Belt.HashSet</a></h1>
148148
<pre><span id="VALforEach"><span class="keyword">val</span> forEach</span> : <code class="type">('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a> -> ('a -> unit) -> unit</code></pre><div class="info ">
149149
<div class="not-examples">
150150
Order unspecified.<br>
151-
151+
152152
</div>
153-
153+
154154
</div>
155155

156-
156+
157157
<pre><span id="VALreduceU"><span class="keyword">val</span> reduceU</span> : <code class="type">('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a> -> 'c -> ('c -> 'a -> 'c [@bs]) -> 'c</code></pre>
158158
<pre><span id="VALreduce"><span class="keyword">val</span> reduce</span> : <code class="type">('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a> -> 'c -> ('c -> 'a -> 'c) -> 'c</code></pre><div class="info ">
159159
<div class="not-examples">
160160
Order unspecified.<br>
161-
161+
162162
</div>
163-
163+
164164
</div>
165165

166-
166+
167167
<pre><span id="VALsize"><span class="keyword">val</span> size</span> : <code class="type">('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a> -> int</code></pre>
168168
<pre><span id="VALlogStats"><span class="keyword">val</span> logStats</span> : <code class="type">('a, 'b) <a href="Belt_HashSet.html#TYPEt">t</a> -> unit</code></pre>
169169
<pre><span id="VALtoArray"><span class="keyword">val</span> toArray</span> : <code class="type">('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a> -> 'a array</code></pre>
170170
<pre><span id="VALofArray"><span class="keyword">val</span> ofArray</span> : <code class="type">'a array -> id:('a, 'id) <a href="Belt_HashSet.html#TYPEid">id</a> -> ('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a></code></pre>
171171
<pre><span id="VALfromArray"><span class="keyword">val</span> fromArray</span> : <code class="type">'a array -> id:('a, 'id) <a href="Belt_HashSet.html#TYPEid">id</a> -> ('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a></code></pre>
172172
<pre><span id="VALmergeMany"><span class="keyword">val</span> mergeMany</span> : <code class="type">('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a> -> 'a array -> unit</code></pre>
173-
<pre><span id="VALgetBucketHistogram"><span class="keyword">val</span> getBucketHistogram</span> : <code class="type">('a, 'b) <a href="Belt_HashSet.html#TYPEt">t</a> -> int array</code></pre></body></html>
173+
<pre><span id="VALgetBucketHistogram"><span class="keyword">val</span> getBucketHistogram</span> : <code class="type">('a, 'b) <a href="Belt_HashSet.html#TYPEt">t</a> -> int array</code></pre></body></html>

0 commit comments

Comments
 (0)