[plt-scheme] Requiring absolute path

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Mon Jun 15 15:26:02 EDT 2009

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
> 
> 



Posted on the users mailing list.