threads-docs: drop the spawned thread in the example code

char-rename
Alexander Iljin 2016-11-01 21:45:50 +03:00 committed by John Benediktsson
parent 5a59a736b7
commit 6b3c802b13
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ $nl
"A thread that counts to 10:" "A thread that counts to 10:"
{ $code { $code
"USING: math.parser threads ;" "USING: math.parser threads ;"
"[ 10 iota [ number>string write nl yield ] each ] \"test\" spawn" "[ 10 iota [ number>string write nl yield ] each ] \"test\" spawn drop"
"10 [ yield ] times" "10 [ yield ] times"
"0" "0"
"1" "1"