Racket: fix for module evaluation/entering
commitf5144a27494a1e83d658d400289ba104b050ffd3
authorJose Antonio Ortega Ruiz <jao@gnu.org>
Sat, 27 Oct 2012 23:38:17 +0000 (28 01:38 +0200)
committerJose Antonio Ortega Ruiz <jao@gnu.org>
Sat, 27 Oct 2012 23:38:17 +0000 (28 01:38 +0200)
tree423b40a4d2fb1e4edf4c84e1de661575e2b9df38
parent8bf3f70f6aba159461612be8577bd4193ee7c6e6
Racket: fix for module evaluation/entering

Our module loader is receiving load requests for module names
represented as lists that are not exactly a submodule, in the sense
that the path does not represent an actual file.

This phenomenon happens for instance when specifying a reader in a
#lang tag.  E.g.

   #lang at-exp racket

will cause the loader to be called with module name '(main reader) and
path <cols-path>/at-exp/main.rkt, where main.rkt does not exist.
Afterwards, we see a call to load at-exp/lang/reader/rkt, with name
reader, which is the real code.

So, for now, i'm skipping all load requests with a list name,
forwarding them to racket's default loader.
scheme/racket/geiser/enter.rkt