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

Cells



   Date: Fri, 13 May 88 12:17:38 PDT
   From: Jim McDonald <edsel!jlm@labrea.stanford.edu>

   Guy, is that a trick bet?

No, just goofing around.

   The CDC 6500 had a lisp (UTEXAS?) with CAR, CDR, and CZR slots for the
   three 18-bit addresses in their 60-bit words.  However, if I remember
   correctly, you would technically win your bet, since there still
   wasn't a three-slot cons.  You had to do something like:

    (SETQ CELL (CONS A B))
    (RPLACZ CELL C)

     jlm


One of the earliest Lisp systems, when it was still just
a set of Fortran subroutines, had a four-slot cons.

       "Therefore, ... car ... and its analogs cdr, cpr, and ctr
	were defined.  At some point a cons(a, d, p, t) was defined,
	but it was regarded as a subroutine and not as a function
	with a value."

	--John McCarthy, "History of Lisp"
	   in Wexelblat, Richard L. (ed.) History of Programming Languages.
	   Academic Press, New York (1981), p. 175.

--Guy