[r6rs-discuss] [Formal] (r6rs base) must also export _ and ... at level 1

From: AndrevanTonder <andre>
Date: Wed Jan 24 07:44:18 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.

Cheers
Andre
Received on Wed Jan 24 2007 - 07:38:18 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC