local documented either in here as part of one of the HtDP languages ββor in here as part of the local module. Let's see each in turn. First in HtDP:
(local [definition ...] expression) Group-related definitions to use in the expression. Each definition can be either define or define-struct. When evaluating locality, each definition is evaluated in order, and finally, the expression of the body is calculated. Only expressions inside the local (including the right-hand sides of definitions and expressions) can refer to names defined by definitions. If the name specified in the local matches the name of the top level, the inner "shadow" of the outer. That is, inside the local, any links to this name refer to the internal.
And further, in the local module:
(local [definition ...] body ...+) Similar to letrec-syntaxes + values, except that bindings are expressed in the same way as at the top level or in a module: using define, define-values, define-syntax, struct etc. Definitions differ from non-definitions by partially expanding the definition forms (see Section "Partial Extensions"). As at the top level or in the module, the sequence with the final completion is spliced ββinto a sequence of definitions.
So, depending on the language / modules used, you will find out which local was the one you found. And, obviously, this is not a standard special form.
source share