This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
for-each readable-scheme interpreter bug
- From: Khairul Azhar <kazar1my at yahoo dot co dot uk>
- To: kawa at sources dot redhat dot com
- Date: Tue, 24 Sep 2002 04:25:59 +0100 (BST)
- Subject: for-each readable-scheme interpreter bug
The following piece of code displays something strange when the output
format "readable-scheme" is used in the interpreter: -
(for-each display (list "one " "two " "buckle my shoe"))
Output: one two buckle my shoe( )
I experimented a bit and got the following: -
(begin
(for-each display (list "one " "two " "buckle my shoe"))
(values))
Output: one two buckle my shoe(list )
Note that the above works correctly when compiled or when the output
format "scheme" is used. I'm using kawa-1.6.99.
BTW, I'd love to use the CVS version, but only having a dialup connection
+ being a student makes it time-consuming and expensive. A precompiled jar
would be nice, though... :)
=====
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