[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
Jussi Piitulainen scripsit:
> 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.
There is nothing in the report about it, and I would oppose measures to
> 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.
I don't know what you mean here. R7RS modules are essentially R6RS
libraries with a few less, and a few extra, bells and whistles. They
have different names because they are technically incompatible, but
there is a compatibility core: imports with optional inclusion,
exclusion, renaming, and prefixing; exports with optional renaming;
embedded code wrapped in BEGIN.
John Cowan cowan@x http://ccil.org/~cowan
I am he that buries his friends alive and drowns them and draws them
alive again from the water. I came from the end of a bag, but no bag
went over me. I am the friend of bears and the guest of eagles. I am
Ringwinner and Luckwearer; and I am Barrel-rider. --Bilbo to Smaug
Scheme-reports mailing list