Re: [racket-dev] Racket 6.0.1 make install-both fails: Racket virtual machine has run out of memory; aborting

2014-05-16 Thread Matthew Flatt
At Thu, 15 May 2014 18:34:20 -0400, Neil Van Dyke wrote: FYI, a 6.0.1 install from source failed. I can't spend any time on it right now. System: 32-bit x86 dual-core, Debian Squeeze, no virtualization, no swap, 3 GB RAM total, almost 2 GB RAM free. $ ./configure

[racket-dev] Determining if a resolved module path is a real module name

2014-05-16 Thread Sam Tobin-Hochstadt
Sometimes, `resolved-module-path-name` produces the symbol '|expanded module|. Is this the only symbol that's produced that _isn't_ the actual name of a module? Also, given that I'm calling `expand` on a module form, is it possible to do something so that I _don't_ end up with '|expanded module|

Re: [racket-dev] Determining if a resolved module path is a real module name

2014-05-16 Thread Matthew Flatt
The result of `expand` does not keep track of it source. You may want to use `resolve-module-path-index` from `syntax/modresolve`, providing the original module path as the second argument. The `resolve-module-path-index` function detects the self module path index (which is giving you '|expanded

Re: [racket-dev] Determining if a resolved module path is a real module name

2014-05-16 Thread Sam Tobin-Hochstadt
On Fri, May 16, 2014 at 10:23 AM, Matthew Flatt mfl...@cs.utah.edu wrote: The result of `expand` does not keep track of it source. You may want to use `resolve-module-path-index` from `syntax/modresolve`, providing the original module path as the second argument. The

Re: [racket-dev] Determining if a resolved module path is a real module name

2014-05-16 Thread Matthew Flatt
At Fri, 16 May 2014 10:40:44 -0400, Sam Tobin-Hochstadt wrote: On Fri, May 16, 2014 at 10:23 AM, Matthew Flatt mfl...@cs.utah.edu wrote: The result of `expand` does not keep track of it source. You may want to use `resolve-module-path-index` from `syntax/modresolve`, providing the original