Skip to content

Commit b816c19

Browse files
committed
updated to rescript-v12.0.0-beta.13
1 parent 46505d9 commit b816c19

12 files changed

Lines changed: 3 additions & 22 deletions

__tests__/Array_Test.res.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ Jest.describe("filterMap", () => Jest.test("keep elements that [f] returns [true
332332
if (Stdlib__Int.isEven(number)) {
333333
return number * number | 0;
334334
}
335-
336335
})), [
337336
16,
338337
36

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@dsiu/rescript-stdlib-fp",
33
"version": "0.0.1",
44
"author": "Danny Siu <danny.siu@gmail.com>",
5-
"packageManager": "yarn@4.10.2",
5+
"packageManager": "yarn@4.10.3",
66
"scripts": {
77
"clean": "rescript clean",
88
"build": "rescript --dev",
@@ -36,7 +36,7 @@
3636
]
3737
},
3838
"peerDependencies": {
39-
"rescript": "^12.0.0-beta.12"
39+
"rescript": "^12.0.0-beta.13"
4040
},
4141
"devDependencies": {
4242
"@changesets/cli": "^2.27.11",
@@ -45,7 +45,7 @@
4545
"@swc/jest": "^0.2.37",
4646
"jest": "^29.7.0",
4747
"onchange": "^7.1.0",
48-
"rescript": "^12.0.0-beta.12",
48+
"rescript": "^12.0.0-beta.13",
4949
"tap-difflet": "^0.7.2"
5050
}
5151
}

src/Stdlib__Array_Ext.res.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ function uncons(xs) {
3838
xs.slice(1)
3939
];
4040
}
41-
4241
}
4342

4443
function singleton(__x) {
@@ -255,7 +254,6 @@ function combinationIf2(a, b, f) {
255254
ret.contents = ret.contents.concat([Primitive_option.valFromOption(r)]);
256255
return;
257256
}
258-
259257
});
260258
});
261259
return ret.contents;
@@ -277,7 +275,6 @@ function combinationIf3(a, b, c, f) {
277275
ret.contents = ret.contents.concat([Primitive_option.valFromOption(r)]);
278276
return;
279277
}
280-
281278
});
282279
});
283280
});
@@ -301,7 +298,6 @@ function combinationIf4(a, b, c, d, f) {
301298
ret.contents = ret.contents.concat([Primitive_option.valFromOption(r)]);
302299
return;
303300
}
304-
305301
});
306302
});
307303
});

src/Stdlib__List_Ext.res.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ function listToOption(l) {
99
if (l !== 0) {
1010
return Primitive_option.some(l.hd);
1111
}
12-
1312
}
1413

1514
function foldLeft0(xs, f) {

src/Stdlib__Serializable.res.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ function MakeTuple2(A) {
3434
Primitive_option.valFromOption(b)
3535
];
3636
}
37-
3837
};
3938
let fromStringUnsafe = str => Stdlib_Option.getExn(fromString(str), undefined);
4039
return {
@@ -64,7 +63,6 @@ function MakeTuple3(A) {
6463
Primitive_option.valFromOption(c)
6564
];
6665
}
67-
6866
};
6967
let fromStringUnsafe = str => Stdlib_Option.getExn(fromString(str), undefined);
7068
return {

src/Tablecloth/TableclothChar.res.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function fromCode(i) {
1919
if (0 <= i && i <= 255) {
2020
return i;
2121
}
22-
2322
}
2423

2524
function toString(c) {

src/Tablecloth/TableclothList.res.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ function initial(l) {
111111
if (match !== 0) {
112112
return Stdlib_List.reverse(match.tl);
113113
}
114-
115114
}
116115

117116
function fold(t, initial, f) {

src/Tablecloth/TableclothOption.res.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ function flatten(x) {
1515
if (x !== undefined) {
1616
return Primitive_option.valFromOption(x);
1717
}
18-
1918
}
2019

2120
function both(a, b) {
@@ -25,14 +24,12 @@ function both(a, b) {
2524
Primitive_option.valFromOption(b)
2625
];
2726
}
28-
2927
}
3028

3129
function map2(a, b, f) {
3230
if (a !== undefined && b !== undefined) {
3331
return Primitive_option.some(f(Primitive_option.valFromOption(a), Primitive_option.valFromOption(b)));
3432
}
35-
3633
}
3734

3835
function unwrapUnsafe(t) {
@@ -69,7 +66,6 @@ function tap(t, f) {
6966
if (t !== undefined) {
7067
return f(Primitive_option.valFromOption(t));
7168
}
72-
7369
}
7470

7571
let or_ = Stdlib_Option.orElse;

src/Tablecloth/TableclothResult.res.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ function toOption(r) {
149149
if (r.TAG === "Ok") {
150150
return Primitive_option.some(r._0);
151151
}
152-
153152
}
154153

155154
function attempt(f) {
@@ -173,7 +172,6 @@ function tap(t, f) {
173172
if (t.TAG === "Ok") {
174173
return f(t._0);
175174
}
176-
177175
}
178176

179177
let or_ = orElse;

src/Tablecloth/TableclothTuple2.res.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ function fromList(list) {
4141
match.hd
4242
];
4343
}
44-
4544
}
4645

4746
function first(param) {

0 commit comments

Comments
 (0)