* typos from guile/guile-core/ref/
@ 2005-06-10 22:03 hyperdivision
2005-06-23 1:58 ` Kevin Ryde
0 siblings, 1 reply; 2+ messages in thread
From: hyperdivision @ 2005-06-10 22:03 UTC (permalink / raw)
various typos from chapter 4 that i've unveiled so far...
directory guile/guile-core/ of the current CVS.
-----BEGIN DIFF----
diff -Naur ref.orig/guile.texi ref/guile.texi
--- ref.orig/guile.texi 2005-04-18 17:29:42.000000000 -0500
+++ ref/guile.texi 2005-06-10 16:45:37.714769984 -0500
@@ -244,7 +244,7 @@
The @ref{Programming Overview} section of this part contains general
musings and guidelines about programming with Guile. It explores
-different ways to design aprogram around Guile, or how to embed Guile
+different ways to design a program around Guile, or how to embed Guile
into existing programs.
There is also a pedagogical yet detailed explanation of how the data
diff -Naur ref.orig/libguile-concepts.texi ref/libguile-concepts.texi
--- ref.orig/libguile-concepts.texi 2005-03-07 15:48:18.000000000 -0600
+++ ref/libguile-concepts.texi 2005-06-10 16:53:09.605720043 -0500
@@ -89,7 +89,7 @@
The one exception is that you can directly assign a @code{SCM} value to
a @code{SCM} variable by using the C @code{=} operator.
-The following (contrieved) example shows how to do it right. It
+The following (contrived) example shows how to do it right. It
implements a function of two arguments (@var{a} and @var{flag}) that
returns @var{a}+1 if @var{flag} is true, else it returns @var{a}
unchanged.
@@ -193,7 +193,7 @@
by any active Scheme values. This activity is called @dfn{garbage
collection}.
-It is easy for Guile to remember all blocks of memory that is has
+It is easy for Guile to remember all blocks of memory that it has
allocated for use by Scheme values, but you need to help it with finding
all Scheme values that are in use by C code.
@@ -217,7 +217,7 @@
potential references to @code{SCM} objects and considers all referenced
objects to be alive. The scanning considers each and every word of the
stack, regardless of what it is actually used for, and then decides
-whether it could possible be a reference to a @code{SCM} object. Thus,
+whether it could possibly be a reference to a @code{SCM} object. Thus,
the scanning is guaranteed to find all actual references, but it might
also find words that only accidentally look like references. These
`false positives' might keep @code{SCM} objects alive that would
@@ -281,7 +281,7 @@
This approach is theoretically very powerful since it is easier to
reason formally about recursion than about gotos. In C, using
-recursion exclusively would not be practical, tho, since it would eat
+recursion exclusively would not be practical, though, since it would eat
up the stack very quickly. In Scheme, however, it is practical:
function calls that appear in a @dfn{tail position} do not use any
additional stack space (@pxref{Tail Calls}).
@@ -291,7 +291,7 @@
immediately returned from the calling function. In the following
example, the call to @code{bar-1} is in a tail position, while the
call to @code{bar-2} is not. (The call to @code{1-} in @code{foo-2}
-is in a tail position, tho.)
+is in a tail position, though.)
@lisp
(define (foo-1 x)
@@ -384,7 +384,7 @@
(@pxref{Frames}).
Instead of coping with non-local control flow, you can also prevent it
-by errecting a @emph{continuation barrier}, @xref{Continuation
+by erecting a @emph{continuation barrier}, @xref{Continuation
Barriers}. The function @code{scm_c_with_continuation_barrier}, for
example, is guaranteed to return exactly once.
@@ -541,7 +541,7 @@
returned from @code{my_list_to_vector}.)
Of course the behavior of @code{my_list_to_vector} is suboptimal when
-@var{list} does indeed gets asynchronously lengthened or shortened in
+@var{list} does indeed get asynchronously lengthened or shortened in
another thread. But it is robust: it will always return a valid vector.
That vector might be shorter than expected, or its last elements might
be unspecified, but it is a valid vector and if a program wants to rule
diff -Naur ref.orig/libguile-extensions.texi ref/libguile-extensions.texi
--- ref.orig/libguile-extensions.texi 2004-04-21 09:32:26.000000000 -0500
+++ ref/libguile-extensions.texi 2005-06-10 16:49:54.344352326 -0500
@@ -86,7 +86,7 @@
A shared library can be loaded into a running Guile process with the
function @code{load-extension}. In addition to the name of the
-library to load, this function also expects the name of function from
+library to load, this function also expects the name of a function from
that library that will be called to initialize it. For our example,
we are going to call the function @code{init_bessel} which will make
@code{j0_wrapper} available to Scheme programs with the name
diff -Naur ref.orig/libguile-linking.texi ref/libguile-linking.texi
--- ref.orig/libguile-linking.texi 2005-03-04 10:05:01.000000000 -0600
+++ ref/libguile-linking.texi 2005-06-10 16:48:37.413872833 -0500
@@ -121,11 +121,11 @@
using Autoconf with Guile. Guile also provides the @code{GUILE_FLAGS}
macro for autoconf that performs all necessary checks. Here is a
@file{configure.in} file for @code{simple-guile} that uses this macro.
-Autoconf can use as this file as template to generate a @code{configure}
+Autoconf can use this file as a template to generate a @code{configure}
script. In order for Autoconf to find the @code{GUILE_FLAGS} macro, you
will need to run @code{aclocal} first. This is not really Guile
-specific, so you should refer to the Autoconf documentation REFFIXME
-when in doubt.
+specific, so you should refer to the Autoconf documentation by typing
+`info autoconf' when in doubt.
@example
AC_INIT(simple-guile.c)
diff -Naur ref.orig/libguile-smobs.texi ref/libguile-smobs.texi
--- ref.orig/libguile-smobs.texi 2005-01-11 15:46:23.000000000 -0600
+++ ref/libguile-smobs.texi 2005-06-10 16:55:29.915111185 -0500
@@ -96,9 +96,9 @@
There can only be at most 256 different smob types in the system.
Instead of registering a huge number of smob types (for example, one
for each relevant C struct in your application), it is sometimes
-better to register just one and implement a second alyer of type
+better to register just one and implement a second layer of type
dispatching on top of it. This second layer might use the 16 extra
-bits for as an extended type, for example.
+bits to extend its type, for example.
Here is how one might declare and register a new type representing
eight-bit gray-scale images:
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: typos from guile/guile-core/ref/
2005-06-10 22:03 typos from guile/guile-core/ref/ hyperdivision
@ 2005-06-23 1:58 ` Kevin Ryde
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2005-06-23 1:58 UTC (permalink / raw)
Cc: bug-guile
hyperdivision <hyperdivision@firefly.is-a-geek.org> writes:
>
> various typos from chapter 4 that i've unveiled so far...
> directory guile/guile-core/ of the current CVS.
Thanks, I made those changes, except for the autoconf/aclocal which I
changed to a pxref.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-23 1:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-10 22:03 typos from guile/guile-core/ref/ hyperdivision
2005-06-23 1:58 ` Kevin Ryde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).