[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.14 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 …

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 correspons to Gauche’s use forms:

 
(use srfi-1)
(use srfi-13)
(use srfi-14)

[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated on July 19, 2014 using texi2html 1.82.