-
Notifications
You must be signed in to change notification settings - Fork 464
/
Copy pathes6_module_test.js
44 lines (40 loc) · 965 Bytes
/
es6_module_test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Generated by ReScript, PLEASE EDIT WITH CARE
'use strict';
var Mt = require("./mt.js");
var List = require("../../lib/js/list.js");
function length(param) {
return 3;
}
Mt.from_pair_suites("Es6_module_test", {
hd: [
"list_length",
(function (param) {
return {
TAG: "Eq",
_0: List.length({
hd: 1,
tl: {
hd: 2,
tl: /* [] */0
}
}),
_1: 2
};
})
],
tl: {
hd: [
"length",
(function (param) {
return {
TAG: "Eq",
_0: 3,
_1: 3
};
})
],
tl: /* [] */0
}
});
exports.length = length;
/* Not a pure module */