+2001-08-30 Neil Jerram <neil@ossau.uklinux.net>
+
+ * scheme-data.texi (Random, String Syntax, String Modification,
+ Regular Expressions), scheme-ideas.texi (Definition),
+ scheme-modules.texi (Dynamic Linking and Compiled Code Modules),
+ scm.texi (Transforming Scheme name to C name, Port
+ Implementation): Various typo fixes and clarifications merged from
+ the stable CVS branch.
+
2001-08-27 Neil Jerram <neil@ossau.uklinux.net>
* intro.texi: Merged wording fixes from stable CVS branch.
Thinking of vect as coordinates in space of
dimension n = (vector-length vect), the coordinates
are uniformly distributed over the surface of the
-unit n-shere.
+unit n-sphere.
@end deffn
@deffn primitive random:normal [state]
the sum of whose squares is less than 1.0.
Thinking of vect as coordinates in space of
dimension n = (vector-length vect), the coordinates
-are uniformly distributed within the unit n-shere.
+are uniformly distributed within the unit n-sphere.
The sum of the squares of the numbers is returned.
@end deffn
current implementation restricts strings to a length of 2^24
characters.} If you want to insert a double quote character into a
string literal, it must be prefixed with a backslash @code{\} character
-(called an @emph{escape character}).
+(called an @dfn{escape character}).
The following are examples of string literals:
@rnindex string?
@deffn primitive string? obj
-Return @code{#t} iff @var{obj} is a string, else returns
-@code{#f}.
+Return @code{#t} iff @var{obj} is a string, else @code{#f}.
@end deffn
@deffn primitive string-null? str
@node String Modification
@subsection String Modification
-These procedures are for modifying strings in-place. That means, that
-not a new string is the result of a string operation, but that the
-actual memory representation of a string is modified.
+These procedures are for modifying strings in-place. This means that the
+result of the operation is not a new string; instead, the original string's
+memory representation is modified.
@rnindex string-set!
@deffn primitive string-set! str k chr
describes a whole class of strings. A full description of regular
expressions and their syntax is beyond the scope of this manual;
an introduction can be found in the Emacs manual (@pxref{Regexps,
-, Syntax of Regular Expressions, emacs, The GNU Emacs Manual}, or
+, Syntax of Regular Expressions, emacs, The GNU Emacs Manual}), or
in many general Unix reference books.
If your system does not include a POSIX regular expression library, and
glue code to convert the arguments and return values of the functions
from Scheme to C and back. Additionally, we need a function that will
add them to the set of Guile primitives. Because this is just an
-example, we will only implement this for the @code{j0} function, tho.
+example, we will only implement this for the @code{j0} function.
@c FIXME::martin: Change all gh_ references to their scm_ equivalents.
(">=" . "_geq")
("<" . "_less")
(">" . "_gr")
- ("@" . "at"))))
+ ("@@" . "at"))))
(while transforms
(let ((trigger (concat "\\(.*\\)"
(regexp-quote (caar transforms))
which collectively implement the port behaviour. Creating a new port
type mostly involves writing these procedures.
-@code{scm_make_port_type} initialises three elements of the structure
+@code{scm_make_port_type} initializes three elements of the structure
(@code{name}, @code{fill_input} and @code{write}) from its arguments.
-The remaining elements are initialised with default values and can be
+The remaining elements are initialized with default values and can be
set later if required.
@table @code