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] |
Mark Galassi <rosalia@cygnus.com> writes: > I put slib in /packages/share/guile/site/slib and jacal in > /packages/share/guile/site/slib/jacal. Other slib features work: > (require 'yasos) makes YASOS stuff available. You're supposed to be in the jacal directory when you do (slib:load "math") When looking at the Jacal README file again I see that this is not stated explicitly, but slib:load is basically only standard `load' in disguise, so I thought it was pretty obvious myself. > I can get it to work as advertised if I do a > > (slib:load "/packages/share/guile/site/slib/jacal/math.scm") Yeah, absolute file references work too. > (slib:load "jacal/math.scm") This is actually a bug in slib.scm. This *shouldn't* work. The bug is documented in the commentary above the definition of `slib:load'. > But I think it would be good if slib were to work "out of the box" > more seamlessly than that, especially on such a standard package as > jacal. If I haven't missed something, it works exactly as it does with SCM (apart from the fact that your `(slib:load "jacal/math.scm")' shouldn't have worked). /mdj