guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] branch master updated: Fix typos in examples.


From: Mikael Djurfeldt
Subject: [Guile-commits] branch master updated: Fix typos in examples.
Date: Sun, 04 Apr 2021 14:18:02 -0400

This is an automated email from the git hooks/post-receive script.

mdj pushed a commit to branch master
in repository guile.

The following commit(s) were added to refs/heads/master by this push:
     new 88e7030  Fix typos in examples.
88e7030 is described below

commit 88e703084567eb99238a3be6ba4285d87a25eeae
Author: Mikael Djurfeldt <mikael@djurfeldt.com>
AuthorDate: Sun Apr 4 20:16:58 2021 +0200

    Fix typos in examples.
    
    Thanks to Eugene Klimov.
---
 examples/box-dynamic-module/box.c | 2 +-
 examples/box-dynamic/box.c        | 2 +-
 examples/box/box.c                | 4 ++--
 examples/modules/README           | 2 +-
 examples/web/debug-sxml.scm       | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/examples/box-dynamic-module/box.c 
b/examples/box-dynamic-module/box.c
index 8cf9409..b950e01 100644
--- a/examples/box-dynamic-module/box.c
+++ b/examples/box-dynamic-module/box.c
@@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
 }
 
 
-/* This defines the primitve `make-box', which returns a new smob of
+/* This defines the primitive `make-box', which returns a new smob of
    type `box', initialized to `#f'.  */
 static SCM
 #define FUNC_NAME "make-box"
diff --git a/examples/box-dynamic/box.c b/examples/box-dynamic/box.c
index 7bc7916..4954e88 100644
--- a/examples/box-dynamic/box.c
+++ b/examples/box-dynamic/box.c
@@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
 }
 
 
-/* This defines the primitve `make-box', which returns a new smob of
+/* This defines the primitive `make-box', which returns a new smob of
    type `box', initialized to `#f'.  */
 static SCM
 #define FUNC_NAME "make-box"
diff --git a/examples/box/box.c b/examples/box/box.c
index 53c022a..f9b3a55 100644
--- a/examples/box/box.c
+++ b/examples/box/box.c
@@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
 }
 
 
-/* This defines the primitve `make-box', which returns a new smob of
+/* This defines the primitive `make-box', which returns a new smob of
    type `box', initialized to `#f'.  */
 static SCM
 #define FUNC_NAME "make-box"
@@ -109,7 +109,7 @@ box_set_x (SCM b, SCM value)
 
 
 /* Create and initialize the new smob type, and register the
-   primitives withe the interpreter library.  */
+   primitives with the interpreter library.  */
 static void
 init_box_type (void)
 {
diff --git a/examples/modules/README b/examples/modules/README
index ddad881..80569c9 100644
--- a/examples/modules/README
+++ b/examples/modules/README
@@ -17,7 +17,7 @@ installed and available with the standard installation prefix
 
   The main program, which uses the modules described below to perform
   some actions.  Module usage and selective importing as well as
-  renaming is demonstrated here.n
+  renaming is demonstrated here.
 
   $ ./main
 
diff --git a/examples/web/debug-sxml.scm b/examples/web/debug-sxml.scm
index 724a9bd..5970c47 100644
--- a/examples/web/debug-sxml.scm
+++ b/examples/web/debug-sxml.scm
@@ -1,6 +1,6 @@
 ;;; Commentary:
 
-;;; A simple debugging server that responds to all responses with a
+;;; A simple debugging server that responds to all requests with a
 ;;; table containing the headers given in the request.
 ;;;
 ;;; As a novelty, this server uses a little micro-framework to build up



reply via email to

[Prev in Thread] Current Thread [Next in Thread]