lists.factor: rest: --> .

master
kusumotonorio 2020-02-15 22:29:10 +09:00 committed by John Benediktsson
parent 384f976deb
commit 0f6ec42e3e
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ M: sequence >list sequence>list ;
:: (parse-list-literal) ( accum right-of-dot? -- accum )
accum scan-token {
{ "}" [ +nil+ , ] }
{ "rest:" [ t (parse-list-literal) ] }
{ "." [ t (parse-list-literal) ] }
[
parse-datum dup parsing-word? [
V{ } clone swap execute-parsing first