bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14164: 'letrec' allows to refer to the values of previously bound va


From: Nikita Karetnikov
Subject: bug#14164: 'letrec' allows to refer to the values of previously bound variables
Date: Tue, 09 Apr 2013 08:41:04 +0400

According to the manual [1], this snippet:

(letrec ((a 42)
         (b (+ a 10)))
  (* a b))

should return "Error: unbound variable: a."  But it returns 2184 in
Guile 2.0.7.  Either there is a bug in the manual or 'letrec' doesn't
work properly.

[1] https://gnu.org/software/guile/manual/guile.html#Local-Bindings

Attachment: pgpwNzEnxStI5.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]