-- -*- M2-comint -*- hash: 1729384374372662693

i1 : for i from 1 to 9 do (x := 0 .. 10000 ; registerFinalizer(x, "-- finalizing sequence #"|i|" --"))

i2 : collectGarbage() 
--finalization: (2)[2]: -- finalizing sequence #3 --
--finalization: (3)[0]: -- finalizing sequence #1 --
--finalization: (4)[5]: -- finalizing sequence #6 --
--finalization: (5)[7]: -- finalizing sequence #8 --
--finalization: (6)[1]: -- finalizing sequence #2 --
--finalization: (7)[6]: -- finalizing sequence #7 --
--finalization: (8)[3]: -- finalizing sequence #4 --
--finalization: (9)[4]: -- finalizing sequence #5 --
--finalization: (1)[8]: -- finalizing sequence #9 --

i3 : 
