Version: 4.0.2
2.10 Local Definitions: local
The bindings documented in this section are provided by the scheme/local and scheme libraries, but not scheme/base.
(local [definition ] body ) |
Like letrec, except that the bindings are expressed in the same way as in the top-level or in a module body: using define, define-values, define-syntax, define-struct, etc. Definitions are distinguished from non-definitions by partially expanding definition forms (see Partial Expansion). As in the top-level or in a module body, a begin-wrapped sequence is spliced into the sequence of definitions.