From 51607806ec2f2fbe4e4739c3ed599a36121e5d42 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 9 Apr 2013 13:54:39 -0400 Subject: [PATCH] Manual: Don't promise to signal an error for an illegal 'letrec'. Reported by Nikita Karetnikov . * 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. --- doc/ref/api-binding.texi | 4 ++-- 1 file 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)))