3.10 Local Definitions: local (original) (raw)
top contents [← prev](let.html "backward to "3.9 Local Binding: let, let*, letrec, ..."") [up](syntax.html "up to "3 Syntactic Forms"") [next →](shared.html "forward to "3.11 Constructing Graphs: shared"")
3.10 Local Definitions: local🔗ℹ
(require racket/local) | package: base |
---|
The bindings documented in this section are provided by the racket/local and racket libraries, but not racket/base.
syntax
(local [definition ...] body ...+)
Like letrec-syntaxes+values, 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,struct, etc. Definitions are distinguished from non-definitions by partially expanding definition forms (seePartial Expansion). As in the top-level or in a module body, a begin-wrapped sequence is spliced into the sequence of definitions.
top contents [← prev](let.html "backward to "3.9 Local Binding: let, let*, letrec, ..."") [up](syntax.html "up to "3 Syntactic Forms"") [next →](shared.html "forward to "3.11 Constructing Graphs: shared"")