[plt-scheme] Requiring absolute path
On Mon, 2009-06-15 at 18:42 +0200, Thomas Chust wrote:
> 2009/6/15 Paulo J. Matos <pocmatos at gmail.com>:
> > [...]
> > I have a scm file which is a library to another file and once this
> > library is installed it resides in the system and I know its absolute
> > path.
> > [...]
>
> Hello,
>
> my suggestion would be to either add the path where the module resides
> to the PLT Scheme collection paths or to use a form like this:
> (require (file
> "/home/pmatos/Software/eboc/src/modes/esmc-mode/eventb-lib.scm"))
>
Interesting... had forgotten about the existence of (file ...) within
require.
Thanks!
> cu,
> Thomas
>
>