[Top][All Lists]

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

Re: Fixing the slib mess

From: Mark H Weaver
Subject: Re: Fixing the slib mess
Date: Thu, 01 Nov 2012 01:25:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Mikael Djurfeldt <address@hidden> writes:
> On Tue, Oct 23, 2012 at 8:01 PM, Mark H Weaver <address@hidden> wrote:
>> Anyway, here's another idea: after requiring a new slib package, iterate
>> over the entire list of top-level bindings in the slib module and export
>> everything.
>> What do you think?
> I think it sounds like the best idea so far.  I'll try to go with this.

Sounds good.

>> One more thing: ideally, any logic that peeks into Guile internals or is
>> likely to change between Guile versions should be in slib.scm, and
>> anything that's likely to change between slib versions should be in
>> guile.init.
>> Does that make sense?
> Three problems come to my mind:
> 1. guile.init is really mostly a kind of interface, meaning that
> changes in both Guile and slib can affect the same pieces of code.
> 2. guile.init is supposed to work with a series of Guile versions.  If
> I now try to do a larger reorganization, I will likely break
> compatibility with some older Guile versions, especially if I start
> moving things back to ice-9/slib.scm.
> 3. I don't really have time currently to do a full reorganization.

Okay, that's fine.  I'd say go ahead and do whatever you have time for.
We can always rethink the interface between slib.scm and guile.init for
Guile 2.2, if someone volunteers to do that work.


reply via email to

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