Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!cbosgd!ihnp4!mit-eddie!jfw From: jfw@mit-eddie.UUCP (John Woods) Newsgroups: net.sources Subject: Y.A. XLISP bug Message-ID: <2763@mit-eddie.UUCP> Date: Sun, 23-Sep-84 23:35:10 EDT Article-I.D.: mit-eddi.2763 Posted: Sun Sep 23 23:35:10 1984 Date-Received: Wed, 26-Sep-84 05:35:24 EDT Distribution: net.sources Organization: MIT, Cambridge, MA Lines: 12 I botched the definition of the function "last", which in MACLISP, returns the last CONS in a list, whereas in mine, returned the last element. To get the MACLISP compatible "last", check out xllist.c, go to the function last, and change the last line (which is return last.n_ptr->n_listvalue) to just simply: return last.n_ptr; Unless you like the wrong one better. -- John Woods, Charles River Data Systems decvax!frog!john, mit-eddie!jfw, JFW%mit-ccc@MIT-XX Guns don't kill people, I kill people.