diff --git a/basis/threads/threads-docs.factor b/basis/threads/threads-docs.factor index 8d63b30c05..f6f1210e50 100644 --- a/basis/threads/threads-docs.factor +++ b/basis/threads/threads-docs.factor @@ -181,6 +181,7 @@ $nl "A simple thread that adds two numbers:" { $code "1 2 [ + . ] 2curry \"Addition thread\" spawn" } "A thread that counts to 10:" + ! Don't use $example below: it won't pass help-lint. { $code "USING: math.parser threads ;" "[ 10 iota [ number>string write nl yield ] each ] \"test\" spawn drop"