forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbelt_Id.js
66 lines (56 loc) · 1.33 KB
/
belt_Id.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
'use strict';
var Curry = require("./curry.js");
function MakeComparableU(M) {
return /* module */[/* cmp */M[0]];
}
function MakeComparable(M) {
var cmp = M[/* cmp */0];
var cmp$1 = Curry.__2(cmp);
return /* module */[/* cmp */cmp$1];
}
function comparableU(cmp) {
return /* module */[/* cmp */cmp];
}
function comparable(cmp) {
var cmp$1 = Curry.__2(cmp);
return /* module */[/* cmp */cmp$1];
}
function MakeHashableU(M) {
return /* module */[
/* hash */M[0],
/* eq */M[1]
];
}
function MakeHashable(M) {
var hash = M[/* hash */0];
var hash$1 = Curry.__1(hash);
var eq = M[/* eq */1];
var eq$1 = Curry.__2(eq);
return /* module */[
/* hash */hash$1,
/* eq */eq$1
];
}
function hashableU(hash, eq) {
return /* module */[
/* hash */hash,
/* eq */eq
];
}
function hashable(hash, eq) {
var hash$1 = Curry.__1(hash);
var eq$1 = Curry.__2(eq);
return /* module */[
/* hash */hash$1,
/* eq */eq$1
];
}
exports.MakeComparableU = MakeComparableU;
exports.MakeComparable = MakeComparable;
exports.comparableU = comparableU;
exports.comparable = comparable;
exports.MakeHashableU = MakeHashableU;
exports.MakeHashable = MakeHashable;
exports.hashableU = hashableU;
exports.hashable = hashable;
/* No side effect */