guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refactoring dynamic roots


From: Kevin Ryde
Subject: Re: Refactoring dynamic roots
Date: Sat, 29 Jan 2005 08:03:47 +1100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Andy Wingo <address@hidden> writes:
>
> Have you seen http://srfi.schemers.org/srfi-39/srfi-39.html -- Parameter
> objects? As long as we're redesigning, no harm in using a standard
> interface to the problem.

I added some ugly code to make srfi-39.scm do what the spec says for
current-input-port etc.  (Actually, maybe current-load-port should be
added there too.)

Making them fluids would be easier.  Users of the ports in libguile
could either call scm_fluid_ref, or have a guarantee there's always 4
entries in the root->fluids vector and fetch directly.




reply via email to

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