@@ -657,7 +657,7 @@ Mocha.describe("Belt_list_test", () => {
657
657
} ) ;
658
658
let id = x => x ;
659
659
Mocha . test ( "map" , ( ) => {
660
- Test_utils . eq ( "File \"belt_list_test.res\", line 109, characters 7-14" , Belt_List . map ( Belt_List . makeBy ( 5 , id ) , x => ( x << 1 ) ) , {
660
+ Test_utils . eq ( "File \"belt_list_test.res\", line 109, characters 7-14" , Belt_List . map ( Belt_List . makeBy ( 5 , id ) , x => x << 1 ) , {
661
661
hd : 0 ,
662
662
tl : {
663
663
hd : 2 ,
@@ -686,7 +686,7 @@ Mocha.describe("Belt_list_test", () => {
686
686
let length_10_id = Belt_List . makeBy ( 10 , id ) ;
687
687
let length_8_id = Belt_List . makeBy ( 8 , id ) ;
688
688
Mocha . test ( "mapWithIndex etc." , ( ) => {
689
- let d = Belt_List . makeBy ( 10 , x => ( x << 1 ) ) ;
689
+ let d = Belt_List . makeBy ( 10 , x => x << 1 ) ;
690
690
Test_utils . eq ( "File \"belt_list_test.res\", line 124, characters 7-14" , Belt_List . zipBy ( length_10_id , length_10_id , add ) , d ) ;
691
691
Test_utils . eq ( "File \"belt_list_test.res\", line 125, characters 7-14" , Belt_List . zipBy ( /* [] */ 0 , {
692
692
hd : 1 ,
@@ -697,15 +697,15 @@ Mocha.describe("Belt_list_test", () => {
697
697
tl : /* [] */ 0
698
698
} , /* [] */ 0 , add ) , /* [] */ 0 ) ;
699
699
Test_utils . eq ( "File \"belt_list_test.res\", line 127, characters 7-14" , Belt_List . zipBy ( /* [] */ 0 , /* [] */ 0 , add ) , /* [] */ 0 ) ;
700
- Test_utils . eq ( "File \"belt_list_test.res\", line 128, characters 7-14" , Belt_List . zipBy ( length_10_id , length_10_id , add ) , Belt_List . concat ( Belt_List . map ( length_8_id , x => ( x << 1 ) ) , {
700
+ Test_utils . eq ( "File \"belt_list_test.res\", line 128, characters 7-14" , Belt_List . zipBy ( length_10_id , length_10_id , add ) , Belt_List . concat ( Belt_List . map ( length_8_id , x => x << 1 ) , {
701
701
hd : 16 ,
702
702
tl : {
703
703
hd : 18 ,
704
704
tl : /* [] */ 0
705
705
}
706
706
} ) ) ;
707
707
Test_utils . eq ( "File \"belt_list_test.res\", line 129, characters 7-14" , Belt_List . zipBy ( length_10_id , length_8_id , add ) , Belt_List . mapWithIndex ( length_8_id , ( i , x ) => i + x | 0 ) ) ;
708
- Test_utils . eq ( "File \"belt_list_test.res\", line 131, characters 6-13" , Belt_List . reverse ( Belt_List . mapReverse2 ( length_10_id , length_10_id , add ) ) , Belt_List . map ( length_10_id , x => ( x << 1 ) ) ) ;
708
+ Test_utils . eq ( "File \"belt_list_test.res\", line 131, characters 6-13" , Belt_List . reverse ( Belt_List . mapReverse2 ( length_10_id , length_10_id , add ) ) , Belt_List . map ( length_10_id , x => x << 1 ) ) ;
709
709
let xs = Belt_List . reverse ( Belt_List . mapReverse2 ( length_8_id , length_10_id , add ) ) ;
710
710
Test_utils . eq ( "File \"belt_list_test.res\", line 136, characters 7-14" , Belt_List . length ( xs ) , 8 ) ;
711
711
Test_utils . eq ( "File \"belt_list_test.res\", line 137, characters 7-14" , xs , Belt_List . zipBy ( length_10_id , length_8_id , add ) ) ;
0 commit comments