This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Chris Bitmead <chrisb@ans.com.au> writes: > Does the following indicate some sort of bug? If not, what should I do? > > guile> (use-modules (ice-9 slib)) > guile> library-vicinity > ERROR: In expression library-vicinity: > ERROR: Unbound variable: library-vicinity > ABORT: (misc-error) > guile> > > >From the slib manual... > > >These procedures are provided by all implementations. > > > >Function: library-vicinity > > Returns the vicinity of the shared Scheme library. Whether this is a bug or not can be discussed. Guile has its own module system which should be used for Guile programs. The purpose of the Guile slib interface (ice-9 slib) is only to make slib packages available to the user. Example: To access the `random' library, type (use-modules (ice-9 slib)) (require 'random) `library-vicinity' is defined within the (ice-9 slib) module so that the slib code can see it, but it isn't exported. Currently, I can't see any reason why it should be exported, except possibly for the case when you are developing a new slib library in Guile. Why do you want to access `library-vicinity'? /mdj