Re: cond-expand and import
Matthias Radestock <[email protected]>
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Dan <[email protected]> writes: > And what if I tried to compile files that contained the examples, > instead of typing them from the REPL? It should work/break in the same way. > So I should use > > (require-extension (lib x)) > > if I remember correctly. Yes. Incidentally, that should work in compiled files too, since require-extension calls require-library at *both* expansion and evaluation time. > I stopped using require-extension after the "silent > deprecation" of the old (require-ext (path name)) > syntax which "broke" siscweb. That got fixed pretty quickly. > The new (lib full/path/name) syntax isn't standardized in an > authoritative document either, so I'm afraid it might change yet > again. It is defined in the SISC manual (the beta version - see http://sisc.sourceforge.net/manual-beta/ch10.html#SRFI55), is compatible with srfi-55 (which the previous version wasn't), and I have no plans to change it again. Of course this doesn't mean it won't change ever, but the same is true of everything else. Matthias.