On Fri, Mar 21, 2008 at 8:51 PM, Lui Fungsin <[EMAIL PROTECTED]> wrote: > On 3/21/08, John Cowan <[EMAIL PROTECTED]> wrote: > > > > ;; test1.scm > > > (declare (uses srfi-13)) > > > > > > (eval-when (compile load eval) > > > (require-extension srfi-13)) > > > > Instead of this, try (use srfi-13), which is supposed to handle all > > such problems. > > Thanks for the suggestion, although I don't really understand what's > the difference between those declarations. > > Unfortunately, this still fails. > > > ;; test1.scm > > (use srfi-13) >
The declaration and the "use" both mark srfi-13 as being a *runtime* requirement. You want it at compile-time, so you can do either (eval-when (compile eval load) (use srfi-13)) or: (require-for-syntax 'srfi-13) cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
