Arc Forumnew | comments | leaders | submitlogin
2 points by waterhouse 5368 days ago | link | parent

Ran for a very long time, but finally erred. Mac OS X 10.6, mzscheme 4.2.4.

  iter
  (nil (0) 0)
  ((0) (0) 1)
  ((0 0) (0) 2)
  ((0 0) nil 3)
  error
  Error: "set-cdr!: expected argument of type <pair>; given nil"
Ran it a second time; it erred within three seconds. Ran it a third time; it erred after a minute or two.


2 points by waterhouse 5367 days ago | link

This is curious. I've ran it with out-of-the-box arc3.1 and out-of-the-box mzscheme 4.2.4 and 4.2.2, on the same computer (with Mac OS X 10.6.2). It's erred every time with 4.2.4 (I think two or three times very quickly and three or four times after a long time), and it has not erred once with 4.2.2 (after four or five tries). I suppose it must be a problem with mzscheme.

-----

1 point by akkartik 5368 days ago | link

Thank you! I haven't managed to get the error on macos. This is good to know.

-----