compile w/ a lib, run w/ different version of that lib

Dan Muresan <[email protected]> Thu, 27 Sep 2007 08:10:59 -0700
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Hi,

suppose x.scm depends on y.scm:

(require-extension (lib y))

;; y provides export f
(define (g x) (f x))

Can I compile x.scm against a version of y.scc, then later load x.scc 
and *another* version of y.scc?

That is, can I change y to provide a different version of (f), then 
recompile y (but not x), then load x and the new y at runtime? Are there 
any risks if I do this?


Thanks,
Dan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/