-- -*- M2-comint -*- hash: 11230413110577727396

i1 : R = QQ[x..z];

i2 : M = cokernel vars R

o2 = cokernel | x y z |

                            1
o2 : R-module, quotient of R

i3 : C = res M

      1      3      3      1
o3 = R  <-- R  <-- R  <-- R  <-- 0
                                  
     0      1      2      3      4

o3 : ChainComplex

i4 : R = ZZ/2[a..d];

i5 : M = coker random(R^4, R^{5:-3,6:-4});

i6 : handleInterrupts = true

o6 = true

i7 : (<< "-- computation started: " << endl;
      while true do try (
          alarm 1;
          time res M;
          alarm 0;
          << "-- computation complete" << endl;
          status M.cache.resolution;
          << res M << endl << endl;
          break;
          ) else (
          << "-- computation interrupted" << endl;
          status M.cache.resolution;
          << "-- continuing the computation" << endl;
          ))
 -- used 0.865987s (cpu); 0.764064s (thread); 0s (gc)
 -- used 0.795547s (cpu); 0.699905s (thread); 0s (gc)
-- computation started: 
-- computation interrupted
-- continuing the computation
-- computation complete
 4      11      89      122      40
R  <-- R   <-- R   <-- R    <-- R   <-- 0
                                         
0      1       2       3        4       5


i8 : 
