I recommend Ryan Culpepper’s whereis package: 
https://docs.racket-lang.org/whereis/index.html 
<https://docs.racket-lang.org/whereis/index.html> It provides both a 
programmatic interface and a raco command.

Alexis

> On Mar 27, 2020, at 03:56, Marc Kaufmann <[email protected]> wrote:
> 
> Hi,
> 
> I am trying to set up vim such that it jumps to the correct source file when 
> I see a `(require some-module)`. With packages that I have installed myself, 
> I have managed to do so (80% solution), since they get installed in 
> $HOME/.racket/<version>/pkgs. However, I can't quite figure out where all the 
> things are. Some are in 
> /usr/share/racket/pkgs/<module>-lib/<submodules-and-sub-submodules>, but 
> others like racket/match seem to be in /usr/share/racket/collects/... . Are 
> there any other places for the core modules?
> 
> Rather than me trying to do something error-prone, is there a Racket function 
> that I can call on <some-module> that returns the right path on my machine? 
> That way I don't write stupid error-prone regexes.
> 
> Cheers,
> Marc

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/DB1F4C09-837E-4586-BB0D-272AB14FCD63%40gmail.com.

Reply via email to