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

bug in TOPS-10 version of COMPLR 838



In a compiled function, when the compiler generates in-line
code for nth, if it knows that the first argument is 0 it
takes the entire list instead of the car.  Try this function
interpreted, and then compiled, to see what I mean:

	(defun loser (x)
	  (princ (nth 0 x))
	  (terpri))

-- Dave Touretzky, TOURETZKY @ CMU-A