summaryrefslogtreecommitdiff
path: root/doc/ref/api-binding.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2019-11-17 15:26:23 +0100
committerAndy Wingo <wingo@pobox.com>2019-11-17 15:30:59 +0100
commitb634071dd4c2401616c78d2a20471698123a23ca (patch)
tree2c1987cad64e7477ed5f6ab686dffce0e07f32b7 /doc/ref/api-binding.texi
parent72a2c742f6675e870421c61e66c5aec134398a5a (diff)
downloadguile-b634071dd4c2401616c78d2a20471698123a23ca.tar.gz
Add R7RS documentation and --r7rs command-line optionwip-r7rs
* doc/ref/Makefile.am: Add r7rs.texi. * doc/ref/guile-invoke.texi (Command-line Options): Document --r7rs. * doc/ref/guile.texi (Guile Modules): Link to R7RS. * doc/ref/intro.texi (Guile and Scheme): Update for R7RS support. * doc/ref/r7rs.texi: New file. * doc/ref/scheme-intro.texi (Guile Scheme): Update for R7RS. * module/ice-9/command-line.scm (*usage*, compile-shell-switches): Add --r7rs option.
Diffstat (limited to 'doc/ref/api-binding.texi')
-rw-r--r--doc/ref/api-binding.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ref/api-binding.texi b/doc/ref/api-binding.texi
index 557e7e124..60f034a0e 100644
--- a/doc/ref/api-binding.texi
+++ b/doc/ref/api-binding.texi
@@ -1,7 +1,7 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2009, 2010, 2011,
-@c 2014 Free Software Foundation, Inc.
+@c Copyright (C) 1996-1997,2000-2004,2009-2011,2013-2014,2019
+@c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@node Binding Constructs
@@ -304,9 +304,9 @@ is equivalent to
Another noteworthy difference to top level definitions is that within
one group of internal definitions all variable names must be distinct.
-That means where on the top level a second define for a given variable
-acts like a @code{set!}, an exception is thrown for internal definitions
-with duplicate bindings.
+Whereas on the top level a second define for a given variable acts like
+a @code{set!}, for internal definitions, duplicate bound identifiers
+signals an error.
As a historical note, it used to be that internal bindings were expanded
in terms of @code{letrec}, not @code{letrec*}. This was the situation