1.0.15.13: more mnemonic lambda-lists for RPLACD and RPLACA
authorNikodemus Siivola <nikodemus@random-state.net>
Mon, 3 Mar 2008 20:14:24 +0000 (20:14 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Mon, 3 Mar 2008 20:14:24 +0000 (20:14 +0000)
 * CONS and X instead of X and Y. I admit, I use these so seldom that
   I have to check the docstring 9 times out of 10 as the lambda-list
   Slime used to show was of no help.

src/code/list.lisp
version.lisp-expr

index 9f649a4..ca44632 100644 (file)
 \f
 ;;;; functions to alter list structure
 
-(defun rplaca (x y)
+(defun rplaca (cons x)
   #!+sb-doc
-  "Change the CAR of X to Y and return the new X."
-  (rplaca x y))
+  "Change the CAR of CONS to X and return the CONS."
+  (rplaca cons x))
 
-(defun rplacd (x y)
+(defun rplacd (cons x)
   #!+sb-doc
-  "Change the CDR of X to Y and return the new X."
-  (rplacd x y))
+  "Change the CDR of CONS to X and return the CONS."
+  (rplacd cons x))
 
 ;;; The following are for use by SETF.
 
index 8a27a62..4aa379c 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.15.12"
+"1.0.15.13"