[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in TOPS-10 version of COMPLR 838
- To: SCOTT.FAHLMAN, DAVE.TOURETZKY, bug-list at MIT-AI
- Subject: bug in TOPS-10 version of COMPLR 838
- From: DAVE.TOURETZKY(C410DT50) at CMU-10A
- Date: Wed, 25 Oct 78 03:26:00 GMT
- Original-date: 24 Oct 1978 2326-EDT
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