guile-devel
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]