[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/02: Fix note on modifying literal vectors
From: |
Daniel Llorens |
Subject: |
[Guile-commits] 01/02: Fix note on modifying literal vectors |
Date: |
Fri, 7 Feb 2020 05:14:55 -0500 (EST) |
lloda pushed a commit to branch wip-exception-truncate
in repository guile.
commit 8af931cea5b1239065815421d04541aa94a793ca
Author: Daniel Llorens <address@hidden>
AuthorDate: Fri Feb 7 11:11:26 2020 +0100
Fix note on modifying literal vectors
---
doc/ref/api-data.texi | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index a6b09c4..fc7a67a 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -6354,12 +6354,11 @@ Return the contents of position @var{k} (a
@code{size_t}) of
A vector created by one of the dynamic vector constructor procedures
(@pxref{Vector Creation}) can be modified using the following
-procedures.
+procedures.
-@emph{NOTE:} According to R5RS, it is an error to use any of these
-procedures on a literally read vector, because such vectors should be
-considered as constants. Currently, however, Guile does not detect this
-error.
+@emph{NOTE:} Following R5RS, it is an error to use any of these
+procedures on a literally read vector, because such vectors are
+considered as constants.
@rnindex vector-set!
@deffn {Scheme Procedure} vector-set! vec k obj