forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_array.js
52 lines (44 loc) · 835 Bytes
/
test_array.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
// Generated CODE, PLEASE EDIT WITH CARE
'use strict';
var Caml_array = require("../runtime/caml_array");
var $$Array = require("../stdlib/array");
var v = Caml_array.caml_make_vect(6, 5);
new Array(30);
var h = $$Array.sub(v, 0, 2);
var hhh = $$Array.append(/* int array */[
1,
2,
3,
4
], /* int array */[
1,
2,
3,
5
]);
var u = Caml_array.caml_array_concat(/* :: */[
/* int array */[
1,
2
],
/* :: */[
/* int array */[
2,
3
],
/* :: */[
/* int array */[
3,
4
],
/* [] */0
]
]
]);
var hh = $$Array.blit;
exports.v = v;
exports.h = h;
exports.hh = hh;
exports.hhh = hhh;
exports.u = u;
/* Not a pure module */