1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-30 06:50:31 +02:00

SRFI-43 documentation tweaks

* doc/ref/api-compound.texi (Vectors): Add cross-reference to SRFI-43.
* doc/ref/srfi-modules.texi (SRFI-43 Selectors): Simplify description of
  'vector-ref'.
This commit is contained in:
Mark H Weaver 2014-03-14 15:07:10 -04:00
parent 950a966e64
commit 2b509a2e37
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual. @c This is part of the GNU Guile Reference Manual.
@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
@c 2007, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. @c 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions. @c See the file guile.texi for copying conditions.
@node Compound Data Types @node Compound Data Types
@ -673,6 +673,8 @@ that vectors are the special case of one dimensional non-uniform arrays
and that most array procedures operate happily on vectors and that most array procedures operate happily on vectors
(@pxref{Arrays}). (@pxref{Arrays}).
Also see @ref{SRFI-43}, for a comprehensive vector library.
@menu @menu
* Vector Syntax:: Read syntax for vectors. * Vector Syntax:: Read syntax for vectors.
* Vector Creation:: Dynamic vector creation and validation. * Vector Creation:: Dynamic vector creation and validation.

View file

@ -4633,8 +4633,8 @@ comparisons are performed is unspecified.
@subsubsection SRFI-43 Selectors @subsubsection SRFI-43 Selectors
@deffn {Scheme Procedure} vector-ref vec i @deffn {Scheme Procedure} vector-ref vec i
Return the value that the location in @var{vec} at @var{i} is mapped to Return the element at index @var{i} in @var{vec}. Indexing is based on
in the store. Indexing is based on zero. zero.
@end deffn @end deffn
@deffn {Scheme Procedure} vector-length vec @deffn {Scheme Procedure} vector-length vec