For Gauche 0.9.15Search (procedure/syntax/module):

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

11.13 srfi.55 - Requiring extensions

Module: srfi.55

This module defines require-extension macro, a yet another way to write portable scripts. See Feature conditional and srfi.7 - Feature-based program configuration language for other means of ensuring specific features.

This module is autoloaded when you use require-extension, so you don’t need explicitly say (use srfi.55); for portable scripts, you shouldn’t.

Macro: require-extension clause …

[SRFI-55]{srfi.55} Make extension(s) specified by clauses available in the rest of the program.

A clause takes the following form:

(extension-id extension-arg …)

Currently, only srfi is supported as extension-id, and its arguments are SRFI numbers.

For example, the following form:

(require-extension (srfi 1 13 14))

Roughly corresponds to Gauche’s use forms:

(use srfi.1)
(use srfi.13)
(use srfi.14)

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


For Gauche 0.9.15Search (procedure/syntax/module):