3
let myList = list{1, 2, 3}
let anotherList = list{0, ...myList}
⣿
// Generated by ReScript, PLEASE EDIT WITH CARE
var myList = {
hd: 1,
tl: {
hd: 2,
tl: {
hd: 3,
tl: /* [] */0
}
}
};
var anotherList = {
hd: 0,
tl: myList
};
export {
myList ,
anotherList ,
}
/* No side effect */
Compiled successfully
0 Errors, 0 Warnings
ReScript Version
Syntax
Module-System
Loaded Libraries
- @rescript/react
Warning Flags
+a-4-9-20-40-41-42-50-61-102