On Mon, Oct 10, 2005 at 05:16:10PM +0200, Ludovic Courtès wrote:
> Joris van der Hoeven <[EMAIL PROTECTED]> writes:
> > I have written my own code to load files using a disk cache.
> > How can I tell guile that it should load all files and modules
> > using my code instead of the standard routines?
> 
> By overriding `primitive-load':
> 
>   (set! primitive-load (lambda (filename) ...))
> 
> Hope this helps,

Cool, yes. I tried to redefine primitive-load, but I should have
used set! ;^) The same trick seems to work for %search-load-path now.

Thanks, Joris


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to