mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-28 07:21:21 +08:00
doc: small fix in lang spec 6.10. Order of evaluation
This commit is contained in:
parent
bda2879228
commit
e9628bfc47
|
@ -1313,7 +1313,7 @@ expression is evaluated as follows:
|
|||
|
||||
1. The variable use `$li` evaluates to the list `[foo bar]`.
|
||||
|
||||
2. The indexing expression `$li[0]` evaluates to two strings `foo` and `bar`.
|
||||
2. The indexing expression `$li[0 1]` evaluates to two strings `foo` and `bar`.
|
||||
|
||||
3. Compounding the expression, the result is `~/foo/*` and `~/bar/*`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user