On Sat, Sep 13, 2008 at 7:27 AM, naruto canada <[EMAIL PROTECTED]> wrote: > hi > > I ran into a minor issue with csi, > (BTW, [EMAIL PROTECTED] disallow posting for some reason, so > I'm posting here) > > you can get the code here: > http://narutocanada.googlecode.com/svn/trunk/s11085.sc > > # cat s11085.sc |csi > > CHICKEN > (c)2008 The Chicken Team > (c)2000-2007 Felix L. Winkelmann > Version 3.3.0 - linux-unix-gnu-x86 [ manyargs dload ptables applyhook ] > SVN rev. 11106 compiled 2008-09-05 on localhost (Linux) > > Warning: the following toplevel variables are referenced but unbound: > dynamic:do-winds > > (it just hangs) > > The code redefines call/cc and hangs csi. > The issue is minor since it shouldn't redefine call/cc, but csi should > at least give an error then exit, instead of hanging.
Actually, it should still work, as R5RS expects an implementation to work, even when redefining standard procedures. The next version of chicken provides a module system, where code like this can be executed with more control over the set of imported (and subsequently re-definable) bindings. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
