From dc9813aee519aca3a1a63acba1a902c670f79d9d Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Tue, 7 Mar 2006 23:55:44 +0000 Subject: [PATCH] (Array Procedures): @pxref for `equal?'. (Shared Arrays): Correction to make-shared-array stride example, need `list' on the mapper return value. --- doc/ref/api-compound.texi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi index a47b2d28e..7919c8113 100644 --- a/doc/ref/api-compound.texi +++ b/doc/ref/api-compound.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005 +@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -2038,8 +2038,9 @@ is unspecified. Return @code{#t} if all arguments are arrays with the same shape, the same type, and have corresponding elements which are either @code{equal?} or @code{array-equal?}. This function differs from -@code{equal?} in that a one dimensional shared array may be -@var{array-equal?} but not @var{equal?} to a vector or uniform vector. +@code{equal?} (@pxref{Equality}) in that a one dimensional shared +array may be @code{array-equal?} but not @code{equal?} to a vector or +uniform vector. @end deffn @c FIXME: array-map! accepts no source arrays at all, and in that @@ -2237,7 +2238,7 @@ taken. The following is every third element, @example (make-shared-array #1(a b c d e f g h i j k l) - (lambda (i) (* i 3)) + (lambda (i) (list (* i 3))) 4) @result{} #1(a d g j) @end example