Next: , Previous: , Up: SRFI Support   [Contents][Index]

7.5.26 SRFI-39 - Parameters

This SRFI adds support for dynamically-scoped parameters. SRFI 39 is implemented in the Guile core; there’s no module needed to get SRFI-39 itself. Parameters are documented in Parameters.

This module does export one extra function: with-parameters*. This is a Guile-specific addition to the SRFI, similar to the core with-fluids* (see Fluids and Dynamic States).

Function: with-parameters* param-list value-list thunk

Establish a new dynamic scope, as per parameterize above, taking parameters from param-list and corresponding values from value-list. A call (thunk) is made in the new scope and the result from that thunk is the return from with-parameters*.