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]

Re: gak! slib


Mark Galassi <rosalia@nis.lanl.gov> writes:

> it would be nice if the slib module made jacal work smoothly.

I think it would be more suitable to distribute a "jacal hook file".

Here's a suggestion:

Put the file `jacal.scm' and the `jacal' directory somewhere on your
load path.  Then do

  (use-modules (jacal))

jacal.scm:
----------------------------------------------------------------------
(define-module (jacal) :use-module (ice-9 slib))

(define horner #f) ; Workaround for a bug in Jacal

(slib:load "jacal/math.scm")

(define-public math math)
----------------------------------------------------------------------

/mdj