Fix locals docs
parent
575fbd522e
commit
d146601fdb
|
@ -120,9 +120,11 @@ $nl
|
||||||
"Another limitation is that closure conversion does not descend into arrays, hashtables or other types of literals. For example, the following does not work:"
|
"Another limitation is that closure conversion does not descend into arrays, hashtables or other types of literals. For example, the following does not work:"
|
||||||
{ $code
|
{ $code
|
||||||
":: bad-cond-usage ( a -- ... )"
|
":: bad-cond-usage ( a -- ... )"
|
||||||
" { [ a 0 < ] [ ... ] }"
|
" {"
|
||||||
" { [ a 0 > ] [ ... ] }"
|
" { [ a 0 < ] [ ... ] }"
|
||||||
" { [ a 0 = ] [ ... ] } ;"
|
" { [ a 0 > ] [ ... ] }"
|
||||||
|
" { [ a 0 = ] [ ... ] }"
|
||||||
|
" } cond ;"
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
ARTICLE: "locals" "Local variables and lexical closures"
|
ARTICLE: "locals" "Local variables and lexical closures"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue