summaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2023-05-30 15:09:47 -0400
committerLudovic Courtès <ludo@gnu.org>2023-07-16 22:09:01 +0200
commitc7d170c5d1e90de64962d4cf3cb257364f77b08f (patch)
treea4ce404e186598e750f76d06e52ac16be9c52f9d /doc/ref
parent99e727addee6acababe18c7fa7b5a0fb2516817c (diff)
downloadguile-c7d170c5d1e90de64962d4cf3cb257364f77b08f.tar.gz
Fix typos throughout codebase.
* NEWS: * README: * doc/r5rs/r5rs.texi: * doc/ref/api-data.texi: * doc/ref/api-debug.texi: * doc/ref/api-evaluation.texi: * doc/ref/api-io.texi: * doc/ref/api-macros.texi: * doc/ref/api-procedures.texi: * doc/ref/api-scheduling.texi: * doc/ref/api-undocumented.texi: * doc/ref/libguile-concepts.texi: * doc/ref/posix.texi: * doc/ref/srfi-modules.texi: * doc/ref/vm.texi: * doc/ref/web.texi: * examples/box-dynamic-module/box.c: * examples/box-dynamic/box.c: * examples/box-module/box.c: * examples/box/box.c: * examples/safe/safe: * examples/scripts/README: * examples/scripts/hello: * gc-benchmarks/larceny/twobit-input-long.sch: * gc-benchmarks/larceny/twobit-smaller.sch: * gc-benchmarks/larceny/twobit.sch: * libguile/expand.c: * libguile/load.c: * libguile/net_db.c: * libguile/scmsigs.c: * libguile/srfi-14.c: * libguile/threads.c: * meta/guile.m4: * module/ice-9/match.upstream.scm: * module/ice-9/ports.scm: * module/language/cps/graphs.scm: * module/scripts/doc-snarf.scm: * module/srfi/srfi-19.scm: * module/system/repl/command.scm: * test-suite/tests/srfi-18.test: Fix typos. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/api-data.texi16
-rw-r--r--doc/ref/api-debug.texi2
-rw-r--r--doc/ref/api-evaluation.texi4
-rw-r--r--doc/ref/api-io.texi2
-rw-r--r--doc/ref/api-macros.texi2
-rw-r--r--doc/ref/api-procedures.texi2
-rw-r--r--doc/ref/api-scheduling.texi12
-rw-r--r--doc/ref/api-undocumented.texi6
-rw-r--r--doc/ref/libguile-concepts.texi2
-rw-r--r--doc/ref/posix.texi10
-rw-r--r--doc/ref/srfi-modules.texi12
-rw-r--r--doc/ref/vm.texi2
-rw-r--r--doc/ref/web.texi2
13 files changed, 37 insertions, 37 deletions
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index bc3f3af2f..d78690fff 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -481,7 +481,7 @@ number.
@deftypefn {C Function} void scm_to_mpz (SCM val, mpz_t rop)
Assign @var{val} to the multiple precision integer @var{rop}.
@var{val} must be an exact integer, otherwise an error will be
-signalled. @var{rop} must have been initialized with @code{mpz_init}
+signaled. @var{rop} must have been initialized with @code{mpz_init}
before this function is called. When @var{rop} is no longer needed
the occupied space must be freed with @code{mpz_clear}.
@xref{Initializing Integers,,, gmp, GNU MP Manual}, for details.
@@ -877,7 +877,7 @@ the number is inexact.
If the exactness indicator is omitted, the number is exact unless it
contains a radix point. Since Guile can not represent exact complex
-numbers, an error is signalled when asking for them.
+numbers, an error is signaled when asking for them.
@lisp
(exact? 1.2)
@@ -2551,7 +2551,7 @@ Return a character set containing all characters whose
character codes lie in the half-open range
[@var{lower},@var{upper}).
-If @var{error} is a true value, an error is signalled if the
+If @var{error} is a true value, an error is signaled if the
specified range contains characters which are not contained in
the implemented character range. If @var{error} is @code{#f},
these characters are silently left out of the resulting
@@ -2567,7 +2567,7 @@ Return a character set containing all characters whose
character codes lie in the half-open range
[@var{lower},@var{upper}).
-If @var{error} is a true value, an error is signalled if the
+If @var{error} is a true value, an error is signaled if the
specified range contains characters which are not contained in
the implemented character range. If @var{error} is @code{#f},
these characters are silently left out of the resulting
@@ -4386,7 +4386,7 @@ encoding of the current locale. The C string must be freed with
@xref{Dynamic Wind}.
For @code{scm_to_locale_string}, the returned string is
-null-terminated and an error is signalled when @var{str} contains
+null-terminated and an error is signaled when @var{str} contains
@code{#\nul} characters.
For @code{scm_to_locale_stringn} and @var{lenp} not @code{NULL},
@@ -8031,7 +8031,7 @@ must be protected so that the pointer remains valid. Such a protected
array is said to be @dfn{reserved}. A reserved array can be read but
modifications to it that would cause the pointer to its elements to
become invalid are prevented. When you attempt such a modification, an
-error is signalled.
+error is signaled.
(This is similar to locking the array while it is in use, but without
the danger of a deadlock. In a multi-threaded program, you will need
@@ -8155,7 +8155,7 @@ for (i = 0; i < RANK; i++)
Compute the position corresponding to @var{indices}, a list of
indices. The position is computed as described above for
@code{scm_array_handle_dims}. The number of the indices and their
-range is checked and an appropriate error is signalled for invalid
+range is checked and an appropriate error is signaled for invalid
indices.
@end deftypefn
@@ -8169,7 +8169,7 @@ range checking is done on @var{pos}.
Set the element at position @var{pos} in the storage block of the array
represented by @var{handle} to @var{val}. Any kind of array is
acceptable. No range checking is done on @var{pos}. An error is
-signalled when the array can not store @var{val}.
+signaled when the array can not store @var{val}.
@end deftypefn
@deftypefn {C Function} {const SCM *} scm_array_handle_elements (scm_t_array_handle *handle)
diff --git a/doc/ref/api-debug.texi b/doc/ref/api-debug.texi
index 97326ff76..660989895 100644
--- a/doc/ref/api-debug.texi
+++ b/doc/ref/api-debug.texi
@@ -359,7 +359,7 @@ library, or from Guile itself.
A common requirement is to be able to show as much useful context as
possible when a Scheme program hits an error. The most immediate
information about an error is the kind of error that it is -- such as
-``division by zero'' -- and any parameters that the code which signalled
+``division by zero'' -- and any parameters that the code which signaled
the error chose explicitly to provide. This information originates with
the @code{error} or @code{raise-exception} call (or their C code
equivalents, if the error is detected by C code) that signals the error,
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi
index df7623f87..7c08e2494 100644
--- a/doc/ref/api-evaluation.texi
+++ b/doc/ref/api-evaluation.texi
@@ -974,7 +974,7 @@ of modifying the path both at compile-time and at run-time.
Search @code{%load-path} for the file named @var{filename} and
load it into the top-level environment. If @var{filename} is a
relative pathname and is not found in the list of search paths,
-an error is signalled. Preferentially loads a compiled version of the
+an error is signaled. Preferentially loads a compiled version of the
file, if it is available and up-to-date.
If @var{filename} is a relative pathname and is not found in the list of
@@ -983,7 +983,7 @@ second argument, @var{exception-on-not-found}. If it is @code{#f},
@code{#f} will be returned. If it is a procedure, it will be called
with no arguments. (This allows a distinction to be made between
exceptions raised by loading a file, and exceptions related to the
-loader itself.) Otherwise an error is signalled.
+loader itself.) Otherwise an error is signaled.
For compatibility with Guile 1.8 and earlier, the C function takes only
one argument, which can be either a string (the file name) or an
diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi
index b6ea593f7..e263e2985 100644
--- a/doc/ref/api-io.texi
+++ b/doc/ref/api-io.texi
@@ -710,7 +710,7 @@ something that the user needs to explicitly be aware of.) The data is
written to the store later -- when the buffer fills up due to another
write, or when @code{force-output} is called, or when @code{close-port}
is called, or when the program exits, or even when the garbage collector
-runs. The salient point is, @emph{the errors are signalled then too}.
+runs. The salient point is, @emph{the errors are signaled then too}.
Buffered writes defer error detection (and defer the side effects to the
mutable store), perhaps indefinitely if the port type does not need to
be closed at GC.
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi
index a353719cb..124587700 100644
--- a/doc/ref/api-macros.texi
+++ b/doc/ref/api-macros.texi
@@ -149,7 +149,7 @@ patterns, and as many templates as there are patterns.
When the syntax expander sees the invocation of a @code{syntax-rules} macro, it
matches the expression against the patterns, in order, and rewrites the
expression using the template from the first matching pattern. If no pattern
-matches, a syntax error is signalled.
+matches, a syntax error is signaled.
@subsubsection Patterns
diff --git a/doc/ref/api-procedures.texi b/doc/ref/api-procedures.texi
index 27489d960..0b24c1002 100644
--- a/doc/ref/api-procedures.texi
+++ b/doc/ref/api-procedures.texi
@@ -550,7 +550,7 @@ matches the number of actual arguments against the formals in the
various clauses, in order. The first matching clause is selected, the
corresponding values from the actual parameter list are bound to the
variable names in the clauses and the body of the clause is evaluated.
-If no clause matches, an error is signalled.
+If no clause matches, an error is signaled.
The syntax of the @code{case-lambda} form is defined in the following
EBNF grammar. @dfn{Formals} means a formal argument list just like
diff --git a/doc/ref/api-scheduling.texi b/doc/ref/api-scheduling.texi
index 09e65e728..115943dab 100644
--- a/doc/ref/api-scheduling.texi
+++ b/doc/ref/api-scheduling.texi
@@ -329,7 +329,7 @@ wait using the following procedures:
@deftypefn {C Function} int scm_c_prepare_to_wait_on_fd (int fd)
Inform Guile that the current thread is about to sleep, and that if an
-asynchronous interrupt is signalled on this thread, Guile should wake up
+asynchronous interrupt is signaled on this thread, Guile should wake up
the thread by writing a zero byte to @var{fd}. Returns zero if the
prepare succeeded, or nonzero if the thread already has a pending async
and that it should avoid waiting.
@@ -337,7 +337,7 @@ and that it should avoid waiting.
@deftypefn {C Function} int scm_c_prepare_to_wait_on_cond (scm_i_pthread_mutex_t *mutex, scm_i_pthread_cond_t *cond)
Inform Guile that the current thread is about to sleep, and that if an
-asynchronous interrupt is signalled on this thread, Guile should wake up
+asynchronous interrupt is signaled on this thread, Guile should wake up
the thread by acquiring @var{mutex} and signalling @var{cond}. The
caller must already hold @var{mutex} and only drop it as part of the
@code{pthread_cond_wait} call. Returns zero if the prepare succeeded,
@@ -574,7 +574,7 @@ waiting should be aborted. It can be either an integer as returned
by @code{current-time} or a pair as returned by @code{gettimeofday}.
When the waiting is aborted, @code{#f} is returned.
-For standard mutexes (@code{make-mutex}), an error is signalled if the
+For standard mutexes (@code{make-mutex}), an error is signaled if the
thread has itself already locked @var{mutex}.
For a recursive mutex (@code{make-recursive-mutex}), if the thread has
@@ -601,7 +601,7 @@ timeout.
@deffn {Scheme Procedure} unlock-mutex mutex
@deffnx {C Function} scm_unlock_mutex (mutex)
-Unlock @var{mutex}. An error is signalled if @var{mutex} is not locked.
+Unlock @var{mutex}. An error is signaled if @var{mutex} is not locked.
``Standard'' and ``recursive'' mutexes can only be unlocked by the
thread that locked them; Guile detects this situation and signals an
@@ -642,14 +642,14 @@ return @code{#f}.
@deffn {Scheme Procedure} wait-condition-variable condvar mutex [time]
@deffnx {C Function} scm_wait_condition_variable (condvar, mutex, time)
-Wait until @var{condvar} has been signalled. While waiting,
+Wait until @var{condvar} has been signaled. While waiting,
@var{mutex} is atomically unlocked (as with @code{unlock-mutex}) and
is locked again when this function returns. When @var{time} is given,
it specifies a point in time where the waiting should be aborted. It
can be either a integer as returned by @code{current-time} or a pair
as returned by @code{gettimeofday}. When the waiting is aborted,
@code{#f} is returned. When the condition variable has in fact been
-signalled, @code{#t} is returned. The mutex is re-locked in any case
+signaled, @code{#t} is returned. The mutex is re-locked in any case
before @code{wait-condition-variable} returns.
When an async is activated for a thread that is blocked in a call to
diff --git a/doc/ref/api-undocumented.texi b/doc/ref/api-undocumented.texi
index 4e478f4c4..0195748ae 100644
--- a/doc/ref/api-undocumented.texi
+++ b/doc/ref/api-undocumented.texi
@@ -30,7 +30,7 @@ call. There is no provision for resetting the counter.
@deffn {Scheme Procedure} symbol-set! o s v
@deffnx {C Function} scm_symbol_set_x (o, s, v)
Find the symbol in @var{obarray} whose name is @var{string}, and rebind
-it to @var{value}. An error is signalled if @var{string} is not present
+it to @var{value}. An error is signaled if @var{string} is not present
in @var{obarray}.
@end deffn
@@ -49,7 +49,7 @@ value.
Look up in @var{obarray} the symbol whose name is @var{string}, and
return the value to which it is bound. If @var{obarray} is @code{#f},
use the global symbol table. If @var{string} is not interned in
-@var{obarray}, an error is signalled.
+@var{obarray}, an error is signaled.
@end deffn
@deffn {Scheme Procedure} unintern-symbol o s
@@ -88,7 +88,7 @@ table; instead, simply return @code{#f}.
Read a form from @var{port} (standard input by default), and evaluate it
(memoizing it in the process) in the top-level environment. If no data
is left to be read from @var{port}, an @code{end-of-file} error is
-signalled.
+signaled.
@end deffn
@deffn {Scheme Procedure} sloppy-member x lst
diff --git a/doc/ref/libguile-concepts.texi b/doc/ref/libguile-concepts.texi
index 34010eebf..118a9fbee 100644
--- a/doc/ref/libguile-concepts.texi
+++ b/doc/ref/libguile-concepts.texi
@@ -601,7 +601,7 @@ executed. Locking a mutex while in that section ensures that no other
thread will start executing it, blocking asyncs ensures that no
asynchronous code enters the section again from the current thread, and
the error checking of Guile mutexes guarantees that an error is
-signalled when the current thread accidentally reenters the critical
+signaled when the current thread accidentally reenters the critical
section via recursive function calls.
Guile provides two mechanisms to support critical sections as outlined
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index 5653d3758..fec42d061 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -2242,7 +2242,7 @@ Install or report the signal handler for a specified signal.
of variables such as @code{SIGINT}.
If @var{handler} is omitted, @code{sigaction} returns a pair: the
-@acronym{CAR} is the current signal hander, which will be either an
+@acronym{CAR} is the current signal handler, which will be either an
integer with the value @code{SIG_DFL} (default action) or
@code{SIG_IGN} (ignore), or the Scheme procedure which handles the
signal, or @code{#f} if a non-Scheme procedure handles the signal.
@@ -2262,9 +2262,9 @@ call to @code{sigaction} is used.
following (where provided by the system), or @code{0} for none.
@defvar SA_NOCLDSTOP
-By default, @code{SIGCHLD} is signalled when a child process stops
+By default, @code{SIGCHLD} is signaled when a child process stops
(ie.@: receives @code{SIGSTOP}), and when a child process terminates.
-With the @code{SA_NOCLDSTOP} flag, @code{SIGCHLD} is only signalled
+With the @code{SA_NOCLDSTOP} flag, @code{SIGCHLD} is only signaled
for termination, not stopping.
@code{SA_NOCLDSTOP} has no effect on signals other than
@@ -2354,7 +2354,7 @@ Get or set the periods programmed in certain system timers.
These timers have two settings. The first setting, the interval, is the
value at which the timer will be reset when the current timer expires.
The second is the current value of the timer, indicating when the next
-expiry will be signalled.
+expiry will be signaled.
@var{which_timer} is one of the following values:
@@ -3123,7 +3123,7 @@ The following procedures are used to search the service database:
Look up a network service by name or by service number, and return a
network service object. The @var{protocol} argument specifies the name
of the desired protocol; if the protocol found in the network service
-database does not match this name, a system error is signalled.
+database does not match this name, a system error is signaled.
The @code{getserv} procedure will take either a service name or number
as its first argument; if given no arguments, it behaves like
diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi
index 0ef136215..0cdf56923 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -361,7 +361,7 @@ lists are @code{circular-list?}.
@deffn {Scheme Procedure} null-list? lst
Return @code{#t} if @var{lst} is the empty list @code{()}, @code{#f}
otherwise. If something else than a proper or circular list is passed
-as @var{lst}, an error is signalled. This procedure is recommended
+as @var{lst}, an error is signaled. This procedure is recommended
for checking for the end of a list in contexts where dotted lists are
not allowed.
@end deffn
@@ -2297,7 +2297,7 @@ a new owner for @var{mutex} different than the current thread.
Unlock @var{mutex}, optionally specifying a condition variable
@var{condition-variable} on which to wait, either indefinitely or,
optionally, until the time object @var{timeout} has passed, to be
-signalled.
+signaled.
@end defun
@@ -3638,7 +3638,7 @@ characters for traditional @code{getopt} short options and strings for
@var{required-arg?} and @var{optional-arg?} are mutually exclusive;
one or both must be @code{#f}. If @var{required-arg?}, the option
must be followed by an argument on the command line, such as
-@samp{--opt=value} for long options, or an error will be signalled.
+@samp{--opt=value} for long options, or an error will be signaled.
If @var{optional-arg?}, an argument will be taken if available.
@var{processor} is a procedure that takes at least 3 arguments, called
@@ -3789,7 +3789,7 @@ The port remains open, and further attempts to read it (by
end-of-file object. If an end of file is encountered after the
beginning of an object's external representation, but the external
representation is incomplete and therefore not parsable, an error is
-signalled.
+signaled.
The @var{port} argument may be omitted, in which case it defaults to the
value returned by @code{(current-input-port)}. It is an error to read
@@ -3935,7 +3935,7 @@ stream, its promise will be forced.
@deffn {Scheme Procedure} stream-car stream
Returns the object stored in the @code{stream-car} of @var{stream}. An
-error is signalled if the argument is not a @code{stream-pair}. This
+error is signaled if the argument is not a @code{stream-pair}. This
causes the @var{object-expr} passed to @code{stream-cons} to be
evaluated if it had not yet been; the value is cached in case it is
needed again.
@@ -3943,7 +3943,7 @@ needed again.
@deffn {Scheme Procedure} stream-cdr stream
Returns the stream stored in the @code{stream-cdr} of @var{stream}. An
-error is signalled if the argument is not a @code{stream-pair}.
+error is signaled if the argument is not a @code{stream-pair}.
@end deffn
@deffn {Scheme Syntax} stream-lambda formals body @dots{}
diff --git a/doc/ref/vm.texi b/doc/ref/vm.texi
index 4515e5e13..d7a2372b8 100644
--- a/doc/ref/vm.texi
+++ b/doc/ref/vm.texi
@@ -956,7 +956,7 @@ of the values in the frame are returned to the prompt handler. This
corresponds to a tail application of @code{abort-to-prompt}.
If no prompt can be found in the dynamic environment with the given tag,
-an error is signalled. Otherwise all arguments are passed to the
+an error is signaled. Otherwise all arguments are passed to the
prompt's handler, along with the captured continuation, if necessary.
If the prompt's handler can be proven to not reference the captured
diff --git a/doc/ref/web.texi b/doc/ref/web.texi
index faaf662ce..607c855b6 100644
--- a/doc/ref/web.texi
+++ b/doc/ref/web.texi
@@ -1310,7 +1310,7 @@ Return the given request header, or @var{default} if none was present.
A helper routine to determine the absolute URI of a request, using the
@code{host} header and the default scheme, host and port. If there is
no default scheme and the URI is not itself absolute, an error is
-signalled.
+signaled.
@end deffn
@node Responses