Skip to content

Commit d3243d9

Browse files
committed
update html
1 parent 7e175f5 commit d3243d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+813
-732
lines changed

Diff for: docs/api/Bs.Dyn.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h1>Module <a href="type_Bs.Dyn.html">Bs.Dyn</a></h1>
205205
</div>
206206

207207
<div class="type-declaration">
208-
<pre><span id="TYPEto_value"><span class="keyword">type</span> <code class="type">'a</code> to_value</span> = <code class="type">([ `Arity_1 of 'a ], <a href="Bs_dyn.html#TYPEvalue">value</a>) Js.Internal.fn</code> </pre>
208+
<pre><span id="TYPEto_value"><span class="keyword">type</span> <code class="type">'a</code> to_value</span> = <code class="type">('a -> <a href="Bs_dyn.html#TYPEvalue">value</a> [@bs])</code> </pre>
209209
</div>
210210

211211

Diff for: docs/api/Bs_dyn.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ <h1>Module <a href="type_Bs_dyn.html">Bs_dyn</a></h1>
207207
</div>
208208

209209
<div class="type-declaration">
210-
<pre><span id="TYPEto_value"><span class="keyword">type</span> <code class="type">'a</code> to_value</span> = <code class="type">([ `Arity_1 of 'a ], <a href="Bs_dyn.html#TYPEvalue">value</a>) Js.Internal.fn</code> </pre>
210+
<pre><span id="TYPEto_value"><span class="keyword">type</span> <code class="type">'a</code> to_value</span> = <code class="type">('a -> <a href="Bs_dyn.html#TYPEvalue">value</a> [@bs])</code> </pre>
211211
</div>
212212

213213

Diff for: docs/api/Js.Dict.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h1>Module <a href="type_Js.Dict.html">Js.Dict</a></h1>
148148
</div>
149149

150150

151-
<pre><span id="VALunsafeDeleteKey"><span class="keyword">val</span> unsafeDeleteKey</span> : <code class="type">([ `Arity_2 of string <a href="Js_dict.html#TYPEt">t</a> * string ], unit) Js.Internal.fn</code></pre><div class="info ">
151+
<pre><span id="VALunsafeDeleteKey"><span class="keyword">val</span> unsafeDeleteKey</span> : <code class="type">(string <a href="Js_dict.html#TYPEt">t</a> -> string -> unit [@bs])</code></pre><div class="info ">
152152
<div class="not-examples">
153153
Experimental internal funciton<br>
154154

@@ -195,7 +195,7 @@ <h1>Module <a href="type_Js.Dict.html">Js.Dict</a></h1>
195195
</div>
196196

197197

198-
<pre><span id="VALmap"><span class="keyword">val</span> map</span> : <code class="type">([ `Arity_1 of 'a ], 'b) Js.Internal.fn -> 'a <a href="Js_dict.html#TYPEt">t</a> -> 'b <a href="Js_dict.html#TYPEt">t</a></code></pre><div class="info ">
198+
<pre><span id="VALmap"><span class="keyword">val</span> map</span> : <code class="type">('a -> 'b [@bs]) -> 'a <a href="Js_dict.html#TYPEt">t</a> -> 'b <a href="Js_dict.html#TYPEt">t</a></code></pre><div class="info ">
199199
<div class="not-examples">
200200
<code class="code">map f dict</code> maps <code class="code">dict</code> to a new dictionary with the same keys,
201201
using <code class="code">f</code> to map each value<br>

Diff for: docs/api/Js.List.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ <h1>Module <a href="type_Js.List.html">Js.List</a></h1>
8080
<pre><span id="VALnth"><span class="keyword">val</span> nth</span> : <code class="type">'a <a href="Js_list.html#TYPEt">t</a> -> int -> 'a option</code></pre>
8181
<pre><span id="VALrevAppend"><span class="keyword">val</span> revAppend</span> : <code class="type">'a <a href="Js_list.html#TYPEt">t</a> -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'a <a href="Js_list.html#TYPEt">t</a></code></pre>
8282
<pre><span id="VALrev"><span class="keyword">val</span> rev</span> : <code class="type">'a <a href="Js_list.html#TYPEt">t</a> -> 'a <a href="Js_list.html#TYPEt">t</a></code></pre>
83-
<pre><span id="VALmapRev"><span class="keyword">val</span> mapRev</span> : <code class="type">([ `Arity_1 of 'a ], 'b) Js.Internal.fn -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'b <a href="Js_list.html#TYPEt">t</a></code></pre>
84-
<pre><span id="VALmap"><span class="keyword">val</span> map</span> : <code class="type">([ `Arity_1 of 'a ], 'b) Js.Internal.fn -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'b <a href="Js_list.html#TYPEt">t</a></code></pre>
85-
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">([ `Arity_1 of 'a ], unit) Js.Internal.fn -> 'a <a href="Js_list.html#TYPEt">t</a> -> unit</code></pre>
86-
<pre><span id="VALiteri"><span class="keyword">val</span> iteri</span> : <code class="type">([ `Arity_2 of int * 'a ], unit) Js.Internal.fn -> 'a <a href="Js_list.html#TYPEt">t</a> -> unit</code></pre>
87-
<pre><span id="VALfoldLeft"><span class="keyword">val</span> foldLeft</span> : <code class="type">([ `Arity_2 of 'a * 'b ], 'a) Js.Internal.fn -> 'a -> 'b list -> 'a</code></pre><div class="info ">
83+
<pre><span id="VALmapRev"><span class="keyword">val</span> mapRev</span> : <code class="type">('a -> 'b [@bs]) -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'b <a href="Js_list.html#TYPEt">t</a></code></pre>
84+
<pre><span id="VALmap"><span class="keyword">val</span> map</span> : <code class="type">('a -> 'b [@bs]) -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'b <a href="Js_list.html#TYPEt">t</a></code></pre>
85+
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">('a -> unit [@bs]) -> 'a <a href="Js_list.html#TYPEt">t</a> -> unit</code></pre>
86+
<pre><span id="VALiteri"><span class="keyword">val</span> iteri</span> : <code class="type">(int -> 'a -> unit [@bs]) -> 'a <a href="Js_list.html#TYPEt">t</a> -> unit</code></pre>
87+
<pre><span id="VALfoldLeft"><span class="keyword">val</span> foldLeft</span> : <code class="type">('a -> 'b -> 'a [@bs]) -> 'a -> 'b list -> 'a</code></pre><div class="info ">
8888
<div class="not-examples">
8989
Application order is left to right, tail recurisve<br>
9090

@@ -93,7 +93,7 @@ <h1>Module <a href="type_Js.List.html">Js.List</a></h1>
9393
</div>
9494

9595

96-
<pre><span id="VALfoldRight"><span class="keyword">val</span> foldRight</span> : <code class="type">([ `Arity_2 of 'a * 'b ], 'b) Js.Internal.fn -> 'a list -> 'b -> 'b</code></pre><div class="info ">
96+
<pre><span id="VALfoldRight"><span class="keyword">val</span> foldRight</span> : <code class="type">('a -> 'b -> 'b [@bs]) -> 'a list -> 'b -> 'b</code></pre><div class="info ">
9797
<div class="not-examples">
9898
Application order is right to left
9999
tail-recursive.<br>
@@ -104,8 +104,8 @@ <h1>Module <a href="type_Js.List.html">Js.List</a></h1>
104104

105105

106106
<pre><span id="VALflatten"><span class="keyword">val</span> flatten</span> : <code class="type">'a <a href="Js_list.html#TYPEt">t</a> <a href="Js_list.html#TYPEt">t</a> -> 'a <a href="Js_list.html#TYPEt">t</a></code></pre>
107-
<pre><span id="VALfilter"><span class="keyword">val</span> filter</span> : <code class="type">([ `Arity_1 of 'a ], bool) Js.Internal.fn -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'a <a href="Js_list.html#TYPEt">t</a></code></pre>
108-
<pre><span id="VALfilterMap"><span class="keyword">val</span> filterMap</span> : <code class="type">([ `Arity_1 of 'a ], 'b option) Js.Internal.fn -><br> 'a <a href="Js_list.html#TYPEt">t</a> -> 'b <a href="Js_list.html#TYPEt">t</a></code></pre>
109-
<pre><span id="VALcountBy"><span class="keyword">val</span> countBy</span> : <code class="type">([ `Arity_1 of 'a ], bool) Js.Internal.fn -> 'a list -> int</code></pre>
110-
<pre><span id="VALinit"><span class="keyword">val</span> init</span> : <code class="type">int -> ([ `Arity_1 of int ], 'a) Js.Internal.fn -> 'a <a href="Js_list.html#TYPEt">t</a></code></pre>
111-
<pre><span id="VALequal"><span class="keyword">val</span> equal</span> : <code class="type">([ `Arity_2 of 'a * 'a ], bool) Js.Internal.fn -> 'a list -> 'a list -> bool</code></pre></body></html>
107+
<pre><span id="VALfilter"><span class="keyword">val</span> filter</span> : <code class="type">('a -> bool [@bs]) -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'a <a href="Js_list.html#TYPEt">t</a></code></pre>
108+
<pre><span id="VALfilterMap"><span class="keyword">val</span> filterMap</span> : <code class="type">('a -> 'b option [@bs]) -> 'a <a href="Js_list.html#TYPEt">t</a> -> 'b <a href="Js_list.html#TYPEt">t</a></code></pre>
109+
<pre><span id="VALcountBy"><span class="keyword">val</span> countBy</span> : <code class="type">('a -> bool [@bs]) -> 'a list -> int</code></pre>
110+
<pre><span id="VALinit"><span class="keyword">val</span> init</span> : <code class="type">int -> (int -> 'a [@bs]) -> 'a <a href="Js_list.html#TYPEt">t</a></code></pre>
111+
<pre><span id="VALequal"><span class="keyword">val</span> equal</span> : <code class="type">('a -> 'a -> bool [@bs]) -> 'a list -> 'a list -> bool</code></pre></body></html>

Diff for: docs/api/Js.Null.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h1>Module <a href="type_Js.Null.html">Js.Null</a></h1>
106106
</div>
107107

108108

109-
<pre><span id="VALbind"><span class="keyword">val</span> bind</span> : <code class="type">'a <a href="Js_null.html#TYPEt">t</a> -> ([ `Arity_1 of 'a ], 'b) Js.Internal.fn -> 'b <a href="Js_null.html#TYPEt">t</a></code></pre><div class="info ">
109+
<pre><span id="VALbind"><span class="keyword">val</span> bind</span> : <code class="type">'a <a href="Js_null.html#TYPEt">t</a> -> ('a -> 'b [@bs]) -> 'b <a href="Js_null.html#TYPEt">t</a></code></pre><div class="info ">
110110
<div class="not-examples">
111111
Maps the contained value using the given function
112112
<p>
@@ -123,7 +123,7 @@ <h1>Module <a href="type_Js.Null.html">Js.Null</a></h1>
123123
</div>
124124

125125

126-
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">'a <a href="Js_null.html#TYPEt">t</a> -> ([ `Arity_1 of 'a ], unit) Js.Internal.fn -> unit</code></pre><div class="info ">
126+
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">'a <a href="Js_null.html#TYPEt">t</a> -> ('a -> unit [@bs]) -> unit</code></pre><div class="info ">
127127
<div class="not-examples">
128128
Iterates over the contained value with the given function
129129
<p>

Diff for: docs/api/Js.Null_undefined.html

+5-13
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script src="../api_static//script.js"></script>
88
<script>hljs.initHighlightingOnLoad();</script>
99
<meta charset="utf8">
10-
<link rel="previous" href="Js.Undefined.html"><link rel="next" href="Js.Exn.html">
10+
<link rel="previous" href="Js.Nullable.html"><link rel="next" href="Js.Exn.html">
1111
<title> Js.Null_undefined </title></head>
1212
<body>
1313
<nav class="module-index"><ul><li><a href="Bs.html">Bs</a></li>
@@ -52,21 +52,13 @@
5252
<li><a href="Node_module.html">Node_module</a></li>
5353
<li><a href="Node_path.html">Node_path</a></li>
5454
<li><a href="Node_process.html">Node_process</a></li></ul></nav>
55-
<div class="navbar"><a class="pre" href="Js.Undefined.html" title="Js.Undefined">Previous</a>
55+
<div class="navbar"><a class="pre" href="Js.Nullable.html" title="Js.Nullable">Previous</a>
5656
&nbsp;<a class="up" href="Js.html" title="Js">Up</a>
5757
&nbsp;<a class="post" href="Js.Exn.html" title="Js.Exn">Next</a>
5858
</div>
5959
<h1>Module <a href="type_Js.Null_undefined.html">Js.Null_undefined</a></h1>
6060

61-
<pre><span class="keyword">module</span> Null_undefined: <code class="type"><a href="Js_null_undefined.html">Js_null_undefined</a></code></pre><div class="info module top">
62-
<div class="not-examples">
63-
Provide utilities arond <a href="Js.html#TYPEnull_undefined"><code class="code">Js.null_undefined</code></a><br>
64-
65-
</div>
66-
67-
</div>
68-
69-
<hr width="100%">
61+
<pre><span class="keyword">module</span> Null_undefined: <code class="type"><a href="Js_null_undefined.html">Js_null_undefined</a></code></pre><hr width="100%">
7062
<div class="type-declaration">
7163
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type">'a</code> t</span> = <code class="type">'a <a href="Js.html#TYPEnull_undefined">Js.null_undefined</a></code> </pre>
7264
</div>
@@ -129,7 +121,7 @@ <h1>Module <a href="type_Js.Null_undefined.html">Js.Null_undefined</a></h1>
129121
</div>
130122

131123

132-
<pre><span id="VALbind"><span class="keyword">val</span> bind</span> : <code class="type">'a <a href="Js_null_undefined.html#TYPEt">t</a> -><br> ([ `Arity_1 of 'a ], 'b) Js.Internal.fn -> 'b <a href="Js_null_undefined.html#TYPEt">t</a></code></pre><div class="info ">
124+
<pre><span id="VALbind"><span class="keyword">val</span> bind</span> : <code class="type">'a <a href="Js_null_undefined.html#TYPEt">t</a> -> ('a -> 'b [@bs]) -> 'b <a href="Js_null_undefined.html#TYPEt">t</a></code></pre><div class="info ">
133125
<div class="not-examples">
134126
Maps the contained value using the given function
135127
<p>
@@ -146,7 +138,7 @@ <h1>Module <a href="type_Js.Null_undefined.html">Js.Null_undefined</a></h1>
146138
</div>
147139

148140

149-
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">'a <a href="Js_null_undefined.html#TYPEt">t</a> -> ([ `Arity_1 of 'a ], unit) Js.Internal.fn -> unit</code></pre><div class="info ">
141+
<pre><span id="VALiter"><span class="keyword">val</span> iter</span> : <code class="type">'a <a href="Js_null_undefined.html#TYPEt">t</a> -> ('a -> unit [@bs]) -> unit</code></pre><div class="info ">
150142
<div class="not-examples">
151143
Iterates over the contained value with the given function
152144
<p>

0 commit comments

Comments
 (0)