2001-04-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>

* scheme-data.texi (Pairs): New data type and procedure
	description.
	(Lists): Added new subsections for grouping the list procedures.
	(Hooks): Added new nodes for hook subsections.
	(String Syntax): New node, factoring out read syntax.
	(Strings): Some blurb about allowed characters, zero-termination
	etc.
	(Keywords): Added menu descriptions.

2001-04-08  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

	* scheme-indices.texi (R5RS Index): Print index `rn', not `r5'.

	* guile.texi: The index formerly known as `r5' is now called `rn'.

	* scheme-utility.texi, scheme-procedures.texi, scheme-io.texi,
	scheme-evaluation.texi, scheme-control.texi, scheme-data.texi:
	Changed all @r5index entries to @rnindex.

2001-04-06  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

	* scheme-data.texi (Hooks): Added hook description and
	constraints.

2001-04-04  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

	* scheme-data.texi (Alphabetic Case Mapping),
	(String Comparison): Rearranged function order.
	(Vectors): Reorganized, new introductory text, docs about read
	syntax.
This commit is contained in:
Martin Grabmüller 2001-04-09 16:16:09 +00:00
commit 5c4b24e10f
10 changed files with 600 additions and 277 deletions

View file

@ -1,3 +1,29 @@
2001-04-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* scheme-data.texi (Pairs): New data type and procedure
description.
(Lists): Added new subsections for grouping the list procedures.
(Hooks): Added new nodes for hook subsections.
(String Syntax): New node, factoring out read syntax.
(Strings): Some blurb about allowed characters, zero-termination
etc.
(Keywords): Added menu descriptions.
2001-04-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* scheme-indices.texi (R5RS Index): Print index `rn', not `r5'.
* guile.texi: The index formerly known as `r5' is now called `rn'.
* scheme-utility.texi, scheme-procedures.texi, scheme-io.texi,
scheme-evaluation.texi, scheme-control.texi, scheme-data.texi:
Changed all @r5index entries to @rnindex.
2001-04-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* scheme-data.texi (Hooks): Added hook description and
constraints.
2001-04-06 Thien-Thi Nguyen <ttn@revel.glug.org>
* scheme-scheduling.texi (Higher level thread

View file

@ -95,7 +95,7 @@
@c Define indices that are used in the Guile Scheme part of the
@c reference manual to group stuff according to whether it is R5RS or a
@c Guile extension.
@defcodeindex r5
@defcodeindex rn
@defcodeindex ge
@include version.texi
@ -144,7 +144,7 @@ by the Free Software Foundation.
@sp 10
@comment The title is printed in a large font.
@title Guile Reference Manual
@subtitle $Id: guile.texi,v 1.2 2001-03-30 22:16:20 ossau Exp $
@subtitle $Id: guile.texi,v 1.3 2001-04-09 16:16:09 mgrabmue Exp $
@subtitle For use with Guile @value{VERSION}
@author Mark Galassi
@author Cygnus Solution and Los Alamos National Laboratory

View file

@ -2170,25 +2170,28 @@ table into an a-list of key-value pairs.
@c snarfed from hooks.c:216
@deffn primitive make-hook-with-name name [n_args]
Create a named hook with the name @var{name} for storing
procedures of arity @var{n_args}.
procedures of arity @var{n_args}. @var{n_args} defaults to
zero.
@end deffn
make-hook
@c snarfed from hooks.c:230
@deffn primitive make-hook [n_args]
Create a hook for storing procedure of arity @var{n_args}.
Create a hook for storing procedure of arity
@var{n_args}. @var{n_args} defaults to zero.
@end deffn
hook?
@c snarfed from hooks.c:240
@deffn primitive hook? x
Return @code{#t} if @var{x} is a hook.
Return @code{#t} if @var{x} is a hook, @code{#f} otherwise.
@end deffn
hook-empty?
@c snarfed from hooks.c:250
@deffn primitive hook-empty? hook
Return @code{#t} if @var{hook} is an empty hook.
Return @code{#t} if @var{hook} is an empty hook, @code{#f}
otherwise.
@end deffn
add-hook!
@ -2215,7 +2218,8 @@ Remove all procedures from the hook @var{hook}.
@c snarfed from hooks.c:315
@deffn primitive run-hook hook . args
Apply all procedures from the hook @var{hook} to the arguments
@var{args}.
@var{args}. The order of the procedure application is first to
last.
@end deffn
hook->list

View file

@ -34,7 +34,7 @@
@node Continuations
@section Continuations
@r5index call-with-current-continuation
@rnindex call-with-current-continuation
@c FIXME::martin: Document me!
@deffn primitive call-with-current-continuation
@end deffn
@ -42,7 +42,7 @@
@node Multiple Values
@section Returning and Accepting Multiple Values
@r5index values
@rnindex values
@deffn primitive values . args
Delivers all of its arguments to its continuation. Except for
continuations created by the @code{call-with-values} procedure,
@ -51,7 +51,7 @@ passing no value or more than one value to continuations that
were not created by @code{call-with-values} is unspecified.
@end deffn
@r5index call-with-values
@rnindex call-with-values
@deffn primitive call-with-values producer consumer
Calls its @var{producer} argument with no values and a
continuation that, when passed some values, calls the
@ -176,7 +176,7 @@ if an exception occurs then @code{#f} is returned instead.
[FIXME: this is pasted in from Tom Lord's original guile.texi and should
be reviewed]
@r5index dynamic-wind
@rnindex dynamic-wind
@c docstring begin (texi-doc-string "guile" "dynamic-wind")
@deffn primitive dynamic-wind in_guard thunk out_guard
All three arguments must be 0-argument procedures.

File diff suppressed because it is too large Load diff

View file

@ -65,7 +65,7 @@ returned will be the return value of @code{read}.
@node Scheme Read
@section Reading Scheme Code
@r5index read
@rnindex read
@c docstring begin (texi-doc-string "guile" "read")
@deffn primitive read [port]
Read an s-expression from the input port @var{port}, or from
@ -112,7 +112,7 @@ this procedure directly, use the procedures @code{read-enable},
@node Fly Evaluation
@section Procedures for On the Fly Evaluation
@r5index eval
@rnindex eval
@c ARGFIXME environment/environment specifier
@c docstring begin (texi-doc-string "guile" "eval")
@deffn primitive eval exp environment
@ -120,7 +120,7 @@ Evaluate @var{exp}, a list representing a Scheme expression, in the
environment given by @var{environment specifier}.
@end deffn
@r5index interaction-environment
@rnindex interaction-environment
@c docstring begin (texi-doc-string "guile" "interaction-environment")
@deffn primitive interaction-environment
Return a specifier for the environment that contains
@ -149,7 +149,7 @@ Note: Rather than do new consing, @code{apply:nconc2last}
destroys its argument, so use with care.
@end deffn
@r5index apply
@rnindex apply
@deffn primitive apply proc arg1 @dots{} args
@var{proc} must be a procedure and @var{args} must be a list. Call
@var{proc} with the elements of the list @code{(append (list @var{arg1}
@ -180,7 +180,7 @@ signalled.
@node Loading
@section Loading Scheme Code from File
@r5index load
@rnindex load
@deffn procedure load filename
Load @var{file} and evaluate its contents in the top-level environment.
The load paths are searched. If the variable @code{%load-hook} is
@ -260,7 +260,7 @@ Return true if @var{obj} is a promise, i.e. a delayed computation
(@pxref{Delayed evaluation,,,r4rs.info,The Revised^4 Report on Scheme}).
@end deffn
@r5index force
@rnindex force
@c docstring begin (texi-doc-string "guile" "force")
@deffn primitive force x
If the promise @var{x} has not been computed yet, compute and

View file

@ -1,17 +0,0 @@
@page
@node R5RS Index
@chapter R5RS Index
@printindex r5
@page
@node Guile Extensions Index
@chapter Guile Extensions Index
@printindex ge
@c Local Variables:
@c TeX-master: "guile.texi"
@c End:

View file

@ -32,7 +32,7 @@ Because this definition is so loose, it is easy to write functions
that simulate ports in software. @dfn{Soft ports} and @dfn{string
ports} are two interesting and powerful examples of this technique.
@r5index input-port?
@rnindex input-port?
@c docstring begin (texi-doc-string "guile" "input-port?")
@deffn primitive input-port? x
Return @code{#t} if @var{x} is an input port, otherwise return
@ -40,7 +40,7 @@ Return @code{#t} if @var{x} is an input port, otherwise return
@code{port?}.
@end deffn
@r5index output-port?
@rnindex output-port?
@c docstring begin (texi-doc-string "guile" "output-port?")
@deffn primitive output-port? x
Return @code{#t} if @var{x} is an output port, otherwise return
@ -61,14 +61,14 @@ Equivalent to @code{(or (input-port? @var{x}) (output-port?
[Generic procedures for reading from ports.]
@r5index eof-object?
@rnindex eof-object?
@c docstring begin (texi-doc-string "guile" "eof-object?")
@deffn primitive eof-object? x
Return @code{#t} if @var{x} is an end-of-file object; otherwise
return @code{#f}.
@end deffn
@r5index char-ready?
@rnindex char-ready?
@c docstring begin (texi-doc-string "guile" "char-ready?")
@deffn primitive char-ready? [port]
Return @code{#t} if a character is ready on input @var{port}
@ -86,7 +86,7 @@ a port at end of file would be indistinguishable from an
interactive port that has no ready characters.}
@end deffn
@r5index read-char?
@rnindex read-char?
@c docstring begin (texi-doc-string "guile" "read-char")
@deffn primitive read-char [port]
Return the next character available from @var{port}, updating
@ -94,7 +94,7 @@ Return the next character available from @var{port}, updating
characters are available, the end-of-file object is returned.
@end deffn
@r5index peek-char?
@rnindex peek-char?
@c docstring begin (texi-doc-string "guile" "peek-char")
@deffn primitive peek-char [port]
Return the next character available from @var{port},
@ -201,7 +201,7 @@ Return the print state of the port @var{port}. If @var{port}
has no associated print state, @code{#f} is returned.
@end deffn
@r5index newline
@rnindex newline
@c docstring begin (texi-doc-string "guile" "newline")
@deffn primitive newline [port]
Send a newline to @var{port}.
@ -236,7 +236,7 @@ port, if @var{destination} is @code{#f}, then return a string
containing the formatted text. Does not add a trailing newline.
@end deffn
@r5index write-char
@rnindex write-char
@c docstring begin (texi-doc-string "guile" "write-char")
@deffn primitive write-char chr [port]
Send character @var{chr} to @var{port}.
@ -274,7 +274,7 @@ File Descriptors, close}, for a procedure which can close file
descriptors.
@end deffn
@r5index close-input-port
@rnindex close-input-port
@c docstring begin (texi-doc-string "guile" "close-input-port")
@deffn primitive close-input-port port
Close the specified input port object. The routine has no effect if
@ -285,7 +285,7 @@ See also @ref{Ports and File Descriptors, close}, for a procedure
which can close file descriptors.
@end deffn
@r5index close-output-port
@rnindex close-output-port
@c docstring begin (texi-doc-string "guile" "close-output-port")
@deffn primitive close-output-port port
Close the specified output port object. The routine has no effect if
@ -495,7 +495,7 @@ If omitted, @var{port} defaults to the current output port.
@node Default Ports
@section Default Ports for Input, Output and Errors
@r5index current-input-port
@rnindex current-input-port
@c docstring begin (texi-doc-string "guile" "current-input-port")
@deffn primitive current-input-port
Return the current input port. This is the default port used
@ -503,7 +503,7 @@ by many input procedures. Initially, @code{current-input-port}
returns the @dfn{standard input} in Unix and C terminology.
@end deffn
@r5index current-output-port
@rnindex current-output-port
@c docstring begin (texi-doc-string "guile" "current-output-port")
@deffn primitive current-output-port
Return the current output port. This is the default port used
@ -599,7 +599,7 @@ current interfaces. If a file cannot be opened with the access
requested, @code{open-file} throws an exception.
@end deffn
@r5index open-input-file
@rnindex open-input-file
@c begin (scm-doc-string "r4rs.scm" "open-input-file")
@deffn procedure open-input-file filename
Open @var{filename} for input. Equivalent to
@ -608,7 +608,7 @@ Open @var{filename} for input. Equivalent to
@end smalllisp
@end deffn
@r5index open-output-file
@rnindex open-output-file
@c begin (scm-doc-string "r4rs.scm" "open-output-file")
@deffn procedure open-output-file filename
Open @var{filename} for output. Equivalent to
@ -617,7 +617,7 @@ Open @var{filename} for output. Equivalent to
@end smalllisp
@end deffn
@r5index call-with-input-file
@rnindex call-with-input-file
@c begin (scm-doc-string "r4rs.scm" "call-with-input-file")
@deffn procedure call-with-input-file file proc
@var{proc} should be a procedure of one argument, and @var{file} should
@ -631,7 +631,7 @@ closed automatically unless it is possible to prove that the port will
never again be used for a read or write operation.
@end deffn
@r5index call-with-output-file
@rnindex call-with-output-file
@c begin (scm-doc-string "r4rs.scm" "call-with-output-file")
@deffn procedure call-with-output-file file proc
@var{proc} should be a procedure of one argument, and @var{file} should
@ -645,7 +645,7 @@ will not be closed automatically unless it is possible to prove that the
port will never again be used for a read or write operation.
@end deffn
@r5index with-input-from-file
@rnindex with-input-from-file
@c begin (scm-doc-string "r4rs.scm" "with-input-from-file")
@deffn procedure with-input-from-file file thunk
@var{thunk} must be a procedure of no arguments, and @var{file} must be
@ -659,7 +659,7 @@ continuation of these procedures, their behavior is implementation
dependent.
@end deffn
@r5index with-output-to-file
@rnindex with-output-to-file
@c begin (scm-doc-string "r4rs.scm" "with-output-to-file")
@deffn procedure with-output-to-file file thunk
@var{thunk} must be a procedure of no arguments, and @var{file} must be

View file

@ -56,7 +56,7 @@ documentation for that procedure.
Return @code{#t} if @var{obj} is a closure.
@end deffn
@r5index procedure?
@rnindex procedure?
@c docstring begin (texi-doc-string "guile" "procedure?")
@deffn primitive procedure? obj
Return @code{#t} if @var{obj} is a procedure.

View file

@ -13,10 +13,8 @@
@node Equality
@section Equality
@r5index eq?
@r5index eqv?
@r5index equal?
@rnindex eq?
@c docstring begin (texi-doc-string "guile" "eq?")
@deffn primitive eq? x y
Return @code{#t} iff @var{x} references the same object as @var{y}.
@ -25,6 +23,7 @@ capable of discerning distinctions finer than those detectable by
@code{eqv?}.
@end deffn
@rnindex eqv?
@c docstring begin (texi-doc-string "guile" "eqv?")
@deffn primitive eqv? x y
The @code{eqv?} procedure defines a useful equivalence relation on objects.
@ -34,6 +33,7 @@ interpretation, but works for comparing immediate integers, characters,
and inexact numbers.
@end deffn
@rnindex equal?
@c docstring begin (texi-doc-string "guile" "equal?")
@deffn primitive equal? x y
Return @code{#t} iff @var{x} and @var{y} are recursively @code{eqv?} equivalent.