[r6rs-discuss] [Formal] (r6rs base) must also export _ and ...
at level 1
andre at het.brown.edu
Wed Jan 24 07:38:18 EST 2007
On Wed, 24 Jan 2007, Abdulaziz Ghuloum wrote:
> Andre van Tonder wrote:
>> It is stated on p.25 that (r6rs base) exports syntax-rules and
>> identifier-syntax at level 1. This is insufficient for writing most useful
>> macros unless the identifiers ... and _ are also exported for level 1.
> Three questions:
> 1. Why would this be necessary?
If they are not exported, how would you propose to handle renaming, prefixing,
or excepting them in a client library?
> 2. To export ... and _, what should they be bound to?
Typically, a syntax error message.
> 3. And would every keyword used throughout the report (=>, else, the plethora
> of keywords that the records facility uses, etc.), and all keywords used by
> user's macros (procedural or not) have to be defined and exported as well?
Yes. That is what I do.
More information about the r6rs-discuss