diff options
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/guile.texi | 1 | ||||
-rw-r--r-- | doc/ref/repl-modules.texi | 34 | ||||
-rw-r--r-- | doc/ref/scheme-using.texi | 4 |
3 files changed, 3 insertions, 36 deletions
diff --git a/doc/ref/guile.texi b/doc/ref/guile.texi index 29b6570c8..35361046a 100644 --- a/doc/ref/guile.texi +++ b/doc/ref/guile.texi @@ -352,7 +352,6 @@ available through both Scheme and C interfaces. * SRFI Support:: Support for various SRFIs. * R6RS Support:: Modules defined by the R6RS. * Readline Support:: Module for using the readline library. -* Value History:: Maintaining a value history in the REPL. * Pretty Printing:: Nicely formatting Scheme objects for output. * Formatted Output:: The @code{format} procedure. * File Tree Walk:: Traversing the file system. diff --git a/doc/ref/repl-modules.texi b/doc/ref/repl-modules.texi index 385ba496d..21f6520e6 100644 --- a/doc/ref/repl-modules.texi +++ b/doc/ref/repl-modules.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004 +@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2010 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -254,38 +254,6 @@ possibilities in @var{string-list}. Matching is case-sensitive. @end defun -@node Value History -@section Value History - -@c FIXME::martin: Review me! - -@cindex value history -Another module which makes command line usage more convenient is -@code{(ice-9 history)}. This module will change the REPL so that each -value which is evaluated and printed will be remembered under a name -constructed from the dollar character (@code{$}) and the number of the -evaluated expression. - -Consider an example session. - -@example -guile> (use-modules (ice-9 history)) -guile> 1 -$1 = 1 -guile> (+ $1 $1) -$2 = 2 -guile> (* $2 $2) -$3 = 4 -@end example - -After loading the value history module @code{(ice-9 history)}, one -(trivial) expression is evaluated. The result is stored into the -variable @code{$1}. This fact is indicated by the output @code{$1 = }, -which is also caused by @code{(ice-9 history)}. In the next line, this -variable is used two times, to produce the value @code{$2}, which in -turn is used in the calculation for @code{$3}. - - @c Local Variables: @c TeX-master: "guile.texi" @c End: diff --git a/doc/ref/scheme-using.texi b/doc/ref/scheme-using.texi index cf4e23010..e07b1481a 100644 --- a/doc/ref/scheme-using.texi +++ b/doc/ref/scheme-using.texi @@ -36,7 +36,7 @@ support for languages other than Scheme. @menu * Readline:: -* Value Historyx:: +* Value History:: * REPL Commands:: * Error Handling:: * Interactive Debugging:: @@ -63,7 +63,7 @@ starts up interactively, so anything in this file has the same effect as if you type it in by hand at the ``scheme@@(guile-user)>'' prompt. -@node Value Historyx +@node Value History @subsection Value History Just as Readline helps you to reuse a previous input line, @dfn{value |