1.2.8. Array::fold_left

Start felix section to test/stdlib/slrt-1.01.08-0.flx[1 /1 ]
     1: #line 206 "./lpsrc/flx_stdlib_regress.pak"
     2: //Check arrays
     3: #import <flx.flxh>
     4: val f = fun (x:int) (y:int) => x - y;
     5: print$ fold_left f 3$ array(4, 5); endl;
     6: print$ fold_left f 3$ array(4, 5, 6); endl;
     7: print$ fold_left f 3$ array(4, 5, 6, 7); endl;
End felix section to test/stdlib/slrt-1.01.08-0.flx[1]
Start data section to test/stdlib/slrt-1.01.08-0.expect[1 /1 ]
     1: -6
     2: -12
     3: -19
End data section to test/stdlib/slrt-1.01.08-0.expect[1]