For Gauche 0.9.5


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

12.43 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 http://www-swiss.ai.mit.edu/~jaffer/SLIB.html.

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]