For Gauche 0.9.6

Next: , Previous: , Up: Library modules - Utilities   [Contents][Index]

12.44 slib - SLIB interface

Module: slib

This module is the interface to the Aubrey Jaffer’s SLIB. To use SLIB, say (use slib). SLIB itself is not included in Gauche distribution. If you don’t have it on your system, get it from

By default, the SLIB installation is searched from the directory specified at the Gauche configuration. If SLIB isn’t there, an error is signaled. In that case, you can set the environment variable SCHEME_LIBRARY_PATH to point to the SLIB installation path.

This module redefines require, shadowing the Gauche’s original require. If it gets a symbol as an argument, it works as SLIB’s require, while if it gets a string, it works as Gauche’s require. The same applies to provide and provided?.

All SLIB symbol bindings, loaded by require, stay in the module slib.

(use slib)         ; load and set up slib
(require 'getopt)  ; load SLIB’s getopt module
(require "foo")    ; load Gauche’s foo module

Next: , Previous: , Up: Library modules - Utilities   [Contents][Index]