SLIB
****

Before the the SLIB facilities can be used, the following Scheme expression must be executed:

     (use-modules (ice-9 slib))

require can then be used as described in SLIB (The SLIB Manual).

For example:

     guile> (use-modules (ice-9 slib))
     guile> (require 'primes)
     guile> (probably-prime? 13)

SLIB installation
=================

The following seems to work, at least with slib 2c7:

 1. Unpack slib somewhere, e.g., /usr/local/lib/slib.

 2. Create a symlink in the Guile site directory to slib, e.g.,:

          ln -s /usr/local/lib/slib /usr/local/share/guile/site/slib

 3. Use Guile to create the catalogue file, e.g.,:

          # guile
          guile> (use-modules (ice-9 slib))
          guile> (load "/usr/local/lib/slib/mklibcat.scm")
          guile> (quit)

     The catalogue data should now be in /usr/local/share/guile/site/slibcat.

     If instead you get an error such as:

          Unbound variable: scheme-implementation-type

     then a solution is to get a newer version of Guile, or to modify ice-9/slib.scm to use define-public for the offending variables.

 4. Install the documentation:

          cd /usr/local/lib/slib
          rm /usr/local/info/slib.info*
          cp slib.info /usr/local/info
          install-info slib.info /usr/local/info/dir

JACAL
=====

Jacal is a symbolic math package written in Scheme by Aubrey Jaffer.  It is usually installed as an extra package in SLIB (see Packages not shipped with Guile).

You can use Guile's interface to SLIB to invoke Jacal:

     (use-modules (ice-9 slib))
     (slib:load "math")
     (math)

For complete documentation on Jacal, please read the Jacal manual.  If it has been installed on line, you can look at Jacal (The SLIB Manual).  Otherwise you can find it on the web at http://www-swiss.ai.mit.edu/~jaffer/JACAL.html