Re: [Sisc-users] Reset an interpreter instance
Brought to you by:
mradestock,
scgmille
From: Matthias R. <mat...@so...> - 2006-04-15 14:39:30
|
"Marco Bakera" <pi...@gm...> writes: > After compiling some sources a.scm into a.scc and loading it with > (load "a.scc") I got an exception by evaluating some function inside > the compiled code: > > sisc.interpreter.SchemeException: ((message . "undefined variable > 'lset-difference'.")) > > lset-difference is in srfi-1 and a.scm does require it with > (require-extension (srfi 1)). However the compiled version of a.scm > does not know about this. > > Is this a bug or did I use something wrong? It's a bug. Please file it on sourceforge. As a workaround, replace (require-extension (srfi 1)) with (require-library 'sisc/libs/srfi/srfi-1) (import srfi-1) Matthias. |