unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#42228: [PATCH 0/3] A few minor typo fixes and documentation improvements
@ 2020-07-06 15:32 Arun Isaac
  2020-07-06 15:38 ` bug#42228: [PATCH 1/3] doc: Fix return value of do loop example Arun Isaac
  0 siblings, 1 reply; 4+ messages in thread
From: Arun Isaac @ 2020-07-06 15:32 UTC (permalink / raw)
  To: 42228

A few minor typo fixes and documentation improvements follow.

Arun Isaac (3):
  doc: Fix return value of do loop example.
  texinfo: Fix typo in transform-string docstring.
  doc: Improve documentation of make-shared-array.

 doc/ref/api-control.texi        | 2 +-
 doc/ref/api-data.texi           | 4 ++--
 module/texinfo/string-utils.scm | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.26.2






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#42228: [PATCH 1/3] doc: Fix return value of do loop example.
  2020-07-06 15:32 bug#42228: [PATCH 0/3] A few minor typo fixes and documentation improvements Arun Isaac
@ 2020-07-06 15:38 ` Arun Isaac
  2020-07-06 15:38   ` bug#42228: [PATCH 2/3] texinfo: Fix typo in transform-string docstring Arun Isaac
  2020-07-06 15:38   ` bug#42228: [PATCH 3/3] doc: Improve documentation of make-shared-array Arun Isaac
  0 siblings, 2 replies; 4+ messages in thread
From: Arun Isaac @ 2020-07-06 15:38 UTC (permalink / raw)
  To: 42228

* doc/ref/api-control.texi (while do): Change return value of second do
loop example from 789 to 243.
---
 doc/ref/api-control.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ref/api-control.texi b/doc/ref/api-control.texi
index 5df5344c5..9860457fa 100644
--- a/doc/ref/api-control.texi
+++ b/doc/ref/api-control.texi
@@ -323,7 +323,7 @@ Or with two variables and a final return value,
 3**3 is 27
 3**4 is 81
 @result{}
-789
+243
 @end example
 
 The @var{variable} bindings are established like a @code{let}, in that
-- 
2.26.2






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#42228: [PATCH 2/3] texinfo: Fix typo in transform-string docstring.
  2020-07-06 15:38 ` bug#42228: [PATCH 1/3] doc: Fix return value of do loop example Arun Isaac
@ 2020-07-06 15:38   ` Arun Isaac
  2020-07-06 15:38   ` bug#42228: [PATCH 3/3] doc: Improve documentation of make-shared-array Arun Isaac
  1 sibling, 0 replies; 4+ messages in thread
From: Arun Isaac @ 2020-07-06 15:38 UTC (permalink / raw)
  To: 42228

* module/texinfo/string-utils.scm (transform-string): Replace "te" with
"the" in docstring.
---
 module/texinfo/string-utils.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/texinfo/string-utils.scm b/module/texinfo/string-utils.scm
index 42074d334..8c81c20fc 100644
--- a/module/texinfo/string-utils.scm
+++ b/module/texinfo/string-utils.scm
@@ -54,8 +54,8 @@ character as an argument, and the returned value is sent to the output
 string via @samp{display}.  If @var{replace} is anything else, it is
 sent through the output string via @samp{display}.
 
-Note that te replacement for the matched characters does not need to
-be a single character.  That is what differentiates this function from
+Note that the replacement for the matched characters does not need to be
+a single character.  That is what differentiates this function from
 @samp{string-map}, and what makes it useful for applications such as
 converting @samp{#\\&} to @samp{\"&\"} in web page text.  Some other
 functions in this module are just wrappers around common uses of
-- 
2.26.2






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#42228: [PATCH 3/3] doc: Improve documentation of make-shared-array.
  2020-07-06 15:38 ` bug#42228: [PATCH 1/3] doc: Fix return value of do loop example Arun Isaac
  2020-07-06 15:38   ` bug#42228: [PATCH 2/3] texinfo: Fix typo in transform-string docstring Arun Isaac
@ 2020-07-06 15:38   ` Arun Isaac
  1 sibling, 0 replies; 4+ messages in thread
From: Arun Isaac @ 2020-07-06 15:38 UTC (permalink / raw)
  To: 42228

* doc/ref/api-data.texi (Shared Arrays): Replace "either" with "either
array" in make-shared-array documentation.
---
 doc/ref/api-data.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index ed14b2298..012c114e5 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -7575,8 +7575,8 @@ row-major order, but that might change in the future. Use
 
 @deffn {Scheme Procedure} make-shared-array oldarray mapfunc bound @dots{}
 @deffnx {C Function} scm_make_shared_array (oldarray, mapfunc, boundlist)
-Return a new array which shares the storage of @var{oldarray}.
-Changes made through either affect the same underlying storage.  The
+Return a new array which shares the storage of @var{oldarray}.  Changes
+made through either array affect the same underlying storage.  The
 @var{bound} @dots{} arguments are the shape of the new array, the same
 as @code{make-array} (@pxref{Array Procedures}).
 
-- 
2.26.2






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-06 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 15:32 bug#42228: [PATCH 0/3] A few minor typo fixes and documentation improvements Arun Isaac
2020-07-06 15:38 ` bug#42228: [PATCH 1/3] doc: Fix return value of do loop example Arun Isaac
2020-07-06 15:38   ` bug#42228: [PATCH 2/3] texinfo: Fix typo in transform-string docstring Arun Isaac
2020-07-06 15:38   ` bug#42228: [PATCH 3/3] doc: Improve documentation of make-shared-array Arun Isaac

unofficial mirror of bug-guile@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guile-bugs/0 guile-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-bugs guile-bugs/ https://yhetil.org/guile-bugs \
		bug-guile@gnu.org
	public-inbox-index guile-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.lisp.guile.bugs
	nntp://news.gmane.io/gmane.lisp.guile.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git