[let - Factor Documentation (original) (raw)

[let
Factor handbook » The language » Lexical variables

Prev: MACRO::
Next: :>

Vocabulary
syntax

Syntax

[let code :> var code :> var code... ]

Word description
Establishes a new scope for lexical variable bindings. Variables bound with :> within the body of the [let will be lexically scoped to the body of the [let form.

Examples
See Examples of lexical variables.

See also
:>

Definition

USING: locals.parser sequences ;

IN: syntax

SYNTAX: [let parse-let append! ;