diff options
author | Richard M. Stallman <rms@gnu.org> | 1999-07-17 02:15:13 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1999-07-17 02:15:13 +0000 |
commit | b6954afd99c5dedeb4d473c885b78e5453ab5e8c (patch) | |
tree | 543f2551670f1bd430f0f97affb04a1ed04d9fba /lispref/lists.texi | |
parent | b92b7c8da456badb0a699ac04296d549717bc29c (diff) |
*** empty log message ***
Diffstat (limited to 'lispref/lists.texi')
-rw-r--r-- | lispref/lists.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lispref/lists.texi b/lispref/lists.texi index 55dee3c22a..ca31023594 100644 --- a/lispref/lists.texi +++ b/lispref/lists.texi @@ -32,7 +32,7 @@ the whole list. Lists in Lisp are not a primitive data type; they are built up from @dfn{cons cells}. A cons cell is a data object that represents an -ordered pair. It holds, or ``points to,'' two Lisp objects, one labeled +ordered pair. It holds, or ``refers to,'' two Lisp objects, one labeled as the @sc{car}, and the other labeled as the @sc{cdr}. These names are traditional; see @ref{Cons Cell Type}. @sc{cdr} is pronounced ``could-er.'' @@ -82,7 +82,7 @@ made from two cons cells: @end example Each pair of boxes represents a cons cell. Each box ``refers to'', -``points to'' or ``contains'' a Lisp object. (These terms are +``points to'' or ``holds'' a Lisp object. (These terms are synonymous.) The first box, which describes the @sc{car} of the first cons cell, contains the symbol @code{tulip}. The arrow from the @sc{cdr} box of the first cons cell to the second cons cell indicates @@ -222,7 +222,7 @@ considered a list and @code{not} when it is considered a truth value @cindex list elements @defun car cons-cell -This function returns the value pointed to by the first pointer of the +This function returns the value referred to by the first slot of the cons cell @var{cons-cell}. Expressed another way, this function returns the @sc{car} of @var{cons-cell}. @@ -244,7 +244,7 @@ or @code{nil}. @end defun @defun cdr cons-cell -This function returns the value pointed to by the second pointer of +This function returns the value referred to by the second slot of the cons cell @var{cons-cell}. Expressed another way, this function returns the @sc{cdr} of @var{cons-cell}. @@ -672,7 +672,7 @@ different element. @defun setcar cons object This function stores @var{object} as the new @sc{car} of @var{cons}, replacing its previous @sc{car}. In other words, it changes the -@sc{car} slot of @var{cons} to point to @var{object}. It returns the +@sc{car} slot of @var{cons} to refer to @var{object}. It returns the value @var{object}. For example: @example @@ -775,7 +775,7 @@ x2: | @defun setcdr cons object This function stores @var{object} as the new @sc{cdr} of @var{cons}, replacing its previous @sc{cdr}. In other words, it changes the -@sc{cdr} slot of @var{cons} to point to @var{object}. It returns the +@sc{cdr} slot of @var{cons} to refer to @var{object}. It returns the value @var{object}. @end defun |