[racket] module-path-index and self-paths

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 11 08:56:29 EDT 2011

At Wed, 11 May 2011 02:04:11 -0400, Danny Yoo wrote:
> On Wed, May 11, 2011 at 1:31 AM, Ryan Culpepper <ryanc at ccs.neu.edu> wrote:
> > I can't speak to why module-path-index-resolve doesn't work, but as a
> > workaround you might try using resolve-module-path-index from the
> > syntax/modresolve library (yes, just shuffle the verb to the front). It
> > takes a path to use as the self module, so it seems like it should avoid the
> > problem you're seeing.
> 
> 
> Ok, syntax/modresolve's resolve-module-path-index works better for me.
>  I'm still wondering if why module-path-index-resolve doesn't do the
> same (I tried setting current-directory, but to no avail), but at
> least I can continue on with syntax/modresolve.  Thanks!

I'll work on the docs --- and maybe add an argument to
`module-path-index-resolve' that works like the extra argument to
`resolve-module-path-index'.



Posted on the users mailing list.