Re: [racket-dev] A function for checking if a library path exists

2014-04-24 Thread Sam Tobin-Hochstadt
Great, thanks. I'll add a hint to the documentation pointing to `syntax/modresolve`. Sam On Wed, Apr 23, 2014 at 6:31 PM, Matthew Flatt mfl...@cs.utah.edu wrote: I think you're looking for `resolve-module-path`. At Wed, 23 Apr 2014 17:41:19 -0400, Sam Tobin-Hochstadt wrote: I'd like to have

[racket-dev] A function for checking if a library path exists

2014-04-23 Thread Sam Tobin-Hochstadt
I'd like to have a function that takes a collection path, as can be given to `lib`, and gives me back the file name. What's the best way to do this? It would seem like `collection-file-path` is the obvious solution, but that requires me to parse `racket/list` into racket and list.rkt. The other

Re: [racket-dev] A function for checking if a library path exists

2014-04-23 Thread Matthew Flatt
I think you're looking for `resolve-module-path`. At Wed, 23 Apr 2014 17:41:19 -0400, Sam Tobin-Hochstadt wrote: I'd like to have a function that takes a collection path, as can be given to `lib`, and gives me back the file name. What's the best way to do this? It would seem like