[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

On Mon, 25 Apr 2011, John Cowan wrote:

> Andre van Tonder scripsit:
>> Okay, but just to confuse the issue ;)  The Scheme toplevel must include
>> bindings for IMPORT (otherwise you cannot import into the toplevel),
>> INCLUDE, INCLUDE-CI, and presumably also MODULE, so elements of the
>> module language are also Scheme :)
> IMPORT, INCLUDE, and INCLUDE-CI are Scheme syntax keywords as well as
> module specification language keywords.  MODULE is not a Scheme syntax
> keyword; you can only bring in MODULEs using IMPORT.

Is the intent that we be able to enter Scheme modules at the toplevel or 
the REPL?  If so, MODULE will have to be available as a syntactic keyword in the 
toplevel environment.

Scheme-reports mailing list