This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
fluid-let interpreter bug
- From: Khairul Azhar <kazar1my at yahoo dot co dot uk>
- To: kawa at sources dot redhat dot com
- Date: Mon, 23 Sep 2002 03:52:28 +0100 (BST)
- Subject: fluid-let interpreter bug
The following piece of code causes an error in the interpreter, though it
works fine when compiled. Incidently, it's from Teach Yourself Scheme in
Fixnum Days: -
(define counter 0)
(define bump-counter
(lambda ()
(set! counter (+ counter 1))
counter))
(fluid-let ((counter 99))
(display (bump-counter)) (newline)
(display (bump-counter)) (newline)
(display (bump-counter)) (newline))
Thought I'd just let you know...
=====
Khairul Azhar
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com