Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.

Next: , Previous: , Up: R6RS Standard Libraries   [Contents][Index]


7.6.2.26 rnrs eval

The (rnrs eval (6) library provides procedures for performing “on-the-fly” evaluation of expressions.

Scheme Procedure: eval expression environment

Evaluates expression, which must be a datum representation of a valid Scheme expression, in the environment specified by environment. This procedure is identical to the one provided by Guile’s code library; See Fly Evaluation, for documentation.

Scheme Procedure: environment import-spec ...

Constructs and returns a new environment based on the specified import-specs, which must be datum representations of the import specifications used with the import form. See R6RS Libraries, for documentation.