Reference: PLT Scheme

1`` | Language Model
2`` | Syntactic Forms
3`` | Datatypes
4`` | Structures
5`` | Classes and Objects
6`` | Units
7`` | Contracts
8`` | Pattern Matching
9`` | Control Flow
10`` | Concurrency
11`` | Macros
12`` | Input and Output
13`` | Reflection and Security
14`` | Operating System
15`` | Memory Management
16`` | Running PLT Scheme
| Bibliography
| Index

On this page:

local

Version: 4.0.2
contents index
← prev up next →

#### 2.10`` Local Definitions: local

(require scheme/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.

contents index
← prev up next →