michael_liu
2017-3-5 11:09:03

@michael_liu has joined the channel


leif
2017-3-5 20:52:16

Is there any way to the current module’s path without specifically using define-runtime-path?


grierson
2017-3-5 21:38:06

@grierson has joined the channel


mflatt
2017-3-5 21:47:53

@leif (variable-reference->module-path-index (#%variable-reference)) or (variable-reference->resolved-module-path (#%variable-reference)), depending on how you plan to use the result


mflatt
2017-3-5 21:48:53

See also quote-module-path and related from syntax/location


leif
2017-3-5 22:08:58

@mflatt pass it into a dynamic-require


leif
2017-3-5 22:09:08

I’ll give this a shot, thanks.


leif
2017-3-5 22:14:20

@mflatt I feel like I should know this, but am blanking, what is the correct way to take this resolved module path, and find another path relative to it?


leif
2017-3-5 22:14:31

(Basically, I’m looking for something like build-path, but for module paths.


mflatt
2017-3-5 22:14:45

You should use the module path index and module-path-index-join


leif
2017-3-5 22:14:53

Ah, cool, thanks.


leif
2017-3-5 22:20:25

Cool @mflatt that worked


leif
2017-3-5 22:20:27

Thank you