Skip to content

Commit 950af90

Browse files
committed
more demos
1 parent 9fa1e10 commit 950af90

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

jscomp/all.depend

+1
Original file line numberDiff line numberDiff line change
@@ -699,4 +699,5 @@ jscmj_main.cmx : common/js_config.cmx core/js_cmj_format.cmx \
699699
ext/ext_string.cmx ext/ext_pp.cmx ext/ext_pervasives.cmx \
700700
ext/ext_array.cmx jscmj_main.cmi
701701
jsgen_main.cmx : ext/ext_string.cmx ext/ext_pervasives.cmx ext/ext_array.cmx
702+
rollup_test.cmx :
702703
jscmj_main.cmi :

jscomp/rollup_test.bundle.js

-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ function length(l) {
5656

5757
/* No side effect */
5858

59-
// List.map (x=>x + 1, [1 , [2,0]])
60-
6159
console.log(length([1,2,3]));
6260

6361
}());

jscomp/rollup_test.js

-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
import * as List from "../lib/es6/list"
44

5-
List.map (x=>x + 1, [1 , [2,0]])
65

76
console.log(List.length([1,2,3]))

jscomp/rollup_test.ml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
3+
Js.log (List.length [1;2;3])

0 commit comments

Comments
 (0)