From 9f7c22be60b6ece31eea601ea4c667d0c8dc13d7 Mon Sep 17 00:00:00 2001 From: Keita Haga Date: Sat, 4 Dec 2010 01:25:14 +0900 Subject: [PATCH] help, hints: remove syntax vocab in few examples --- basis/help/help-docs.factor | 2 +- basis/hints/hints-docs.factor | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/basis/help/help-docs.factor b/basis/help/help-docs.factor index 597830ab7e..8e22aad212 100644 --- a/basis/help/help-docs.factor +++ b/basis/help/help-docs.factor @@ -476,7 +476,7 @@ HELP: HELP: { $description "Defines documentation for a word." } { $examples { $code - "USING: help help.markup help.syntax math syntax ;" + "USING: help help.markup help.syntax math ;" ": foo ( m -- n ) 2 + ;" "HELP: foo" "{ $values { \"m\" \"an integer\" } { \"n\" \"an integer\" } }" diff --git a/basis/hints/hints-docs.factor b/basis/hints/hints-docs.factor index 4ff973a251..b5e7b37725 100644 --- a/basis/hints/hints-docs.factor +++ b/basis/hints/hints-docs.factor @@ -27,13 +27,12 @@ $nl { $examples "The " { $link append } " word has a specializer for the very common case where two strings or two arrays are appended:" { $code - "USING: arrays hints sequences strings syntax ;" + "USING: arrays hints sequences strings ;" "HINTS: append { string string } { array array } ;" } "Specializers can also be defined on methods:" { $code - "USING: assocs hashtables hints kernel sequences" - "syntax ;" + "USING: assocs hashtables hints kernel sequences ;" "GENERIC: count-occurrences ( elt obj -- n )" "" "M: sequence count-occurrences [ = ] with count ;"