[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



    Date: 9 December 1981 15:52-EST
    From: Jerry Roylance <GLR at MIT-AI>
    COMPLR does not compile the do loop correctly
    (defun bug ()
      (do ((i 0 j)
	   (j 1 (1+ j)))
	  ((> j 10))
	(print (list i j))))
The bug is caused by the clause "(i 0 j)", which involves parallel
assignments -- you can completely get around this problem for now
by declareing 'j' to be fixnum (you might as well declare 'i' too).