Ray Dillinger scripsit:

> It is necessary at times to write modules that do things in different
> ways depending on what resources they have available.  If some module
> is unavailable, they load some other module and do it a different
> way instead.

That can be achieved, as I was trying to explain, by loading a shim
module that is always available and includes one of several sets of
code, either the Good Module code or an interface to the Bad Module.
Include is ordinary syntax, so it can be controlled by cond-expand
or a syntax-rules macro.

-- 
There is / One art                      John Cowan <[email protected]>
No more / No less                       http://www.ccil.org/~cowan
To do / All things
With art- / Lessness                     --Piet Hein

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to