[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Per-module reader, take #3
From: |
Neil Jerram |
Subject: |
Re: [PATCH] Per-module reader, take #3 |
Date: |
Sat, 17 Dec 2005 10:26:50 +0000 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Neil Jerram <address@hidden> writes:
>
>> For `current-reader' I think we should stick as we are.
>
> Then, should we go ahead and remove the `current-module' and
> `set-current-module' procedures in favor of `current-module' as a fluid?
> By not exporting the fluid directly, my original patch kept away from
> such a highly controversial debate. ;-)
:-) If we were starting from a clean slate, then yes, I'd agree. But
starting from where we are now, I don't think it's worth changing what
already exists.
Note BTW that both current-module and current-reader are
Guile-specific. For implementing something not Guile-specific, we
should also take into account portability of the chosen syntax; but
for these cases we don't need to.
(Sudden confusion: Are fluids part of R5RS? If so, why do we need the
parameters SRFI? I guess I need to go and reread it.)
> The "principle of least surprise" _is_ important for people coming to
> the language/implementation.
Yes, but as ever there are other principles too, in this case back
compatibility and simplicity.
Neil
- Re: [PATCH] Per-module reader, take #3, (continued)
- Re: [PATCH] Per-module reader, take #3, Marius Vollmer, 2005/12/06
- Re: [PATCH] Per-module reader, take #3, Neil Jerram, 2005/12/13
- Re: [PATCH] Per-module reader, take #3, Ludovic Courtès, 2005/12/14
- Re: [PATCH] Per-module reader, take #3, Neil Jerram, 2005/12/14
- Re: [PATCH] Per-module reader, take #3, Ludovic Courtès, 2005/12/15
- Re: [PATCH] Per-module reader, take #3, Neil Jerram, 2005/12/15
- Re: [PATCH] Per-module reader, take #3, Tomas Zerolo, 2005/12/16
- Re: [PATCH] Per-module reader, take #3, Neil Jerram, 2005/12/16
- Re: [PATCH] Per-module reader, take #3, Tomas Zerolo, 2005/12/16
- Re: [PATCH] Per-module reader, take #3, Ludovic Courtès, 2005/12/16
- Re: [PATCH] Per-module reader, take #3,
Neil Jerram <=
- Re: [PATCH] Per-module reader, take #3, Marius Vollmer, 2005/12/17
- Re: [PATCH] Per-module reader, take #3, Neil Jerram, 2005/12/29