8.12
6.46 Dot
expression | ||||||
| ||||||
expression | ||||||
| ||||||
repetition | ||||||
| ||||||
|
Accesses or updates a component of the value produce by
target_expr, either statically
or dynamically. The operation is static when target_expr is a
dot provider. The access form also works as a repetition
given a repetition for the target.
See also use_static.
> [1, 2, 3].length()
3
> p.x
1
> p
Posn(1, 20)