guile-devel
[Top][All Lists]
Advanced

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

slib overwrites provides?


From: Greg Troxel
Subject: slib overwrites provides?
Date: Wed, 06 Jun 2007 08:19:19 -0400
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/21.4 (berkeley-unix)

It seems that slib's guile.init replaces
  provide provided? 
resulting in two separate feature lists, of which the old/internal may
still be accessed by the deprecated procedure feature?

guile> (version)
"1.6.8"
guile> (provided? 'foo)
#f
guile> (provide 'foo)
guile> (provided? 'foo)
#t
guile> (use-modules (ice-9 slib))
guile> (provided? 'foo)
#f
guile> (feature? 'foo)
#t
guile> (provide 'bar)
guile> (provided? 'bar)
#t
guile> (feature? 'bar)
#f


I'm not sure what the right fix is, but it seems that guile shouldn't
use symbols that are part of slib's core mechanism.  Is the intent to
have the set of provided features be the union of ice-9 and slib?
The slib-old.scm in 1.6 removes variables from *features* and seems to
share it.

(I freely admit to the view that slib is important, and that guile
simply has to support slib.  The fact that 1.8 doesn't play well with
slib (or at least seems not to) is why I still have 1.6.8 installed on
mys system.)




reply via email to

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