[plt-scheme] Module loader behaves more permissively in DrScheme than mzscheme?

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Mon May 7 22:51:17 EDT 2007

Hi everyone,

I just noticed that I made a mistake while doing database code with Hans 
Oesterholt's excellent sqlid package.  Here's the mistake I made:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(module db mzscheme
   (require (planet "sqli.ss" ("oesterholt" "sqlid.plt" 1 3))
            ...)
   ...
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Under DrScheme, it appears that the module name resolver automagically 
sees "sqli.ss", and back-translates it back to "sqli.scm".


I caught my mistake later on when trying to run the same module under 
mzscheme, and was greatly surprised by this difference in behavior.  Is 
this something that DrScheme should really be doing?  I understand it's 
trying to be nice here, but I'd rather it be more strict in this case.


Thanks!


Posted on the users mailing list.