17 lines
311 B
Markdown
17 lines
311 B
Markdown
# Let Expression
|
|
|
|
A `let` expression creates local bindings.
|
|
|
|
```dcdl
|
|
let
|
|
base = 8000;
|
|
offset = 80;
|
|
in
|
|
base + offset
|
|
```
|
|
|
|
## Evaluation
|
|
|
|
A binding is evaluated when it is referenced.
|
|
An unreferenced binding is not evaluated, and the result is reused if the same binding is referenced several times.
|