[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Module-level BEGIN is not a BEGIN - please call it something else

Aaron W. Hsu writes:
> On Mon, 25 Apr 2011 01:16:03 -0400, John Cowan wrote:
> > MODULE is not a Scheme syntax keyword; you can only bring in
> > MODULEs using IMPORT.
> I find this annoying, as it means that at the top-level REPL, we can't  
> define new modules by entering them on the REPL; or, do I misunderstand  
> this thread?

Is there anything in the report about how imported modules are found?
Obviously (import (scheme io)) refers to a known module, but suppose I
had a module of my own. My present understanding is that this is left
intentionally unspecified in the small language.

It would not be the right balance to specify top-level module
definitions in this report but leave the more important library system
out. Larger systems can provide both.

Scheme-reports mailing list