mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
11 lines
322 B
Markdown
11 lines
322 B
Markdown
|
# Variables
|
||
|
|
||
|
A *variable* is an [identifier](identifiers.md) used as an expression.
|
||
|
|
||
|
> **Syntax**
|
||
|
>
|
||
|
> *expression* → *identifier*
|
||
|
|
||
|
A variable must have the same name as a definition in the [scope](./scope.md) that encloses it.
|
||
|
The value of a variable is the value of the corresponding expression in the enclosing scope.
|