summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2013-04-09 13:54:39 -0400
committerMark H Weaver <mhw@netris.org>2013-04-09 13:59:25 -0400
commit51607806ec2f2fbe4e4739c3ed599a36121e5d42 (patch)
tree1552302a89f6f223c2bfe8d4861378219b978252
parent3c8f2ae958f96f16ffcbb74e0b022bd9999ecb03 (diff)
downloadguile-51607806ec2f2fbe4e4739c3ed599a36121e5d42.tar.gz
Manual: Don't promise to signal an error for an illegal 'letrec'.
Reported by Nikita Karetnikov <nikita@karetnikov.org>. * doc/ref/api-binding.texi (Local Bindings): Remove the incorrect claim that improperly accessing a letrec-bound variable during evaluation of its initializers will necessarily cause an error to be signalled.
-rw-r--r--doc/ref/api-binding.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ref/api-binding.texi b/doc/ref/api-binding.texi
index 5763f36de..e3a991871 100644
--- a/doc/ref/api-binding.texi
+++ b/doc/ref/api-binding.texi
@@ -218,9 +218,9 @@ variables.
@lisp
(letrec ((a 42)
- (b (+ a 10)))
+ (b (+ a 10))) ;; Illegal access
(* a b))
-@result{} ;; Error: unbound variable: a
+;; The behavior of the expression above is unspecified
(letrec* ((a 42)
(b (+ a 10)))