[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C*R
- To: Guy.Steele@CMU-10A, lisp-forum@MIT-MC
- Subject: Re: C*R
- From: Kim.jkf at Berkeley
- Date: Sat ,5 Dec 81 02:38:04 EDT
- Full-name: John K. Foderaro
- In-reply-to: Your message of 5 December 1981 0047-EST (Saturday)
It is possible to describe the location of an object in a lisp
list structure with a list of a's and d's, such as (a a d d a d a a).
This is a very compact way of representing such an access. In Franz
lisp, you can create the accessor function by adding an c and the beginning
and an r at the end and concat'ing it. This is very much in the spirit
of lisp. the result is a single function which is easily recognizable.
Guy has implied that we are like naive, starry-eyed novices in our
implementation of the closure of the c{ad}r function. His only evidence
is his own boyhood experiences. Does anyone have an argument of substance
to make against c{a,d}+r (not the use of it, but the mere fact that
c{a,d}+r function exists for all positive numbers of a's and d's).