aboutsummaryrefslogtreecommitdiffstats
path: root/docs/reference/05-3_scopes.md
blob: 0517677cc7f9128db4a74691d530c804ba3bef3d (plain)
1
2
3
4
5
Scopes contain symbol-result mappings and are used only at *evaltime*. Unlike
arrays and structs, which contain other types and have to either wholly be a
constant, ~-stream or !-steam, a single scope can contain all of these.

For this reason, scopes are used for metaprogramming and modules.