]> gitweb.factorcode.org Git - factor.git/commitdiff
threads-docs: drop the spawned thread in the example code
authorAlexander Iljin <ajsoft@yandex.ru>
Tue, 1 Nov 2016 18:45:50 +0000 (21:45 +0300)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 2 Nov 2016 15:01:26 +0000 (08:01 -0700)
basis/threads/threads-docs.factor

index 4dab1af476e49f91d33c2b6141be44e483d7fa3a..8d63b30c05d104db9f5b880baf103eadd85478e4 100644 (file)
@@ -183,7 +183,7 @@ $nl
     "A thread that counts to 10:"
     { $code
       "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"
       "0"
       "1"