From 61881f19770c0f617297adb3604039ae3ddeb800 Mon Sep 17 00:00:00 2001 From: Keita Haga <keitahaga@mail.com> Date: Sat, 15 Jan 2011 00:22:29 +0900 Subject: [PATCH] combinators.smart, multiline: few $examples turn into $codes --- basis/combinators/smart/smart-docs.factor | 3 +-- basis/multiline/multiline-docs.factor | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/basis/combinators/smart/smart-docs.factor b/basis/combinators/smart/smart-docs.factor index 22cf21c0e7..cdd2744888 100644 --- a/basis/combinators/smart/smart-docs.factor +++ b/basis/combinators/smart/smart-docs.factor @@ -158,10 +158,9 @@ HELP: nullary } { $description "Infers the number of inputs to a quotation and drops them from the stack." } { $examples - { $example + { $code """USING: combinators.smart kernel math ; 1 2 [ + ] nullary""" -"" } } ; diff --git a/basis/multiline/multiline-docs.factor b/basis/multiline/multiline-docs.factor index 09f86197ba..d22cbdf1ae 100644 --- a/basis/multiline/multiline-docs.factor +++ b/basis/multiline/multiline-docs.factor @@ -8,10 +8,9 @@ HELP: STRING: HELP: /* { $syntax "/* comment */" } { $description "Provides C-like comments that can span multiple lines. One caveat is that " { $snippet "/*" } " and " { $snippet "*/" } " are still tokens and must not abut the comment text itself." } -{ $example "USING: multiline ;" +{ $code "USING: multiline ;" "/* I think that I shall never see" " A poem lovely as a tree. */" - "" } ; HELP: HEREDOC: