This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: UnboundSymbol
- From: Per Bothner <per at bothner dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Chris Dean <ctdean at mercedsystems dot com>, kawa at sources dot redhat dot com
- Date: Mon, 04 Nov 2002 13:57:45 -0800
- Subject: Re: UnboundSymbol
- References: <15519.1036352068@mercedsystems.com> <3DC6DC05.508@bothner.com>
The problem is that the string is *not* evaluated in "immediate"
(or interactive) mode, but each string is treated as a separate file.
I.e. the imported declaration are only visible within each string:
The following works:
scm.eval( "(require 'srfi-1) filter");
Or if you prefer:
scm.eval( "(begin (require 'srfi-1) filter)");
This should be fixed, but I need to think about how to do it.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/