(SRFI-1 Association Lists): In alist-cons, clarify
authorKevin Ryde <user42@zip.com.au>
Fri, 1 Apr 2005 23:35:09 +0000 (23:35 +0000)
committerKevin Ryde <user42@zip.com.au>
Fri, 1 Apr 2005 23:35:09 +0000 (23:35 +0000)
a bit and cross reference core acons.

doc/ref/srfi-modules.texi

index 1c0bc02..dd86e9d 100644 (file)
@@ -943,14 +943,15 @@ predicate.  (@pxref{Association Lists})
 @end deffn
 
 @deffn {Scheme Procedure} alist-cons key datum alist
-Equivalent to
+Cons a new association @var{key} and @var{datum} onto @var{alist} and
+return the result.  This is equivalent to
 
 @lisp
 (cons (cons @var{key} @var{datum}) @var{alist})
 @end lisp
 
-This procedure is used to cons a new pair onto an existing
-association list.
+@code{acons} (@pxref{Adding or Setting Alist Entries}) in the Guile
+core does the same thing.
 @end deffn
 
 @deffn {Scheme Procedure} alist-copy alist