[plt-scheme] (require (file ...)) current-load-relative-directory

From: Ron Stanonik (stanonik at Cogsci.ucsd.edu)
Date: Wed Jul 21 13:58:57 EDT 2004

Sorry if this should be obvious.

If I (require (file "/a/b/c.ss")), how can I get the path ("/a/b")
to the module inside the module.  current-load-relative-directory
returns #f.  I need the path because c.ss needs to load a c.so,
located in the same directory.


stanonik at cogsci.ucsd.edu

Posted on the users mailing list.