From 326202e7b7035438bfebbe51b6a13040b7f62859 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Fri, 19 Jun 2009 14:33:43 -0500 Subject: [PATCH] Fix help-lint for models.range and histogram --- basis/models/range/range-docs.factor | 2 +- extra/histogram/histogram-docs.factor | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/basis/models/range/range-docs.factor b/basis/models/range/range-docs.factor index 1adba493b4..5f5b2f4405 100644 --- a/basis/models/range/range-docs.factor +++ b/basis/models/range/range-docs.factor @@ -7,7 +7,7 @@ HELP: range { $notes { $link "ui.gadgets.sliders" } " use range models." } ; HELP: -{ $values { "value" real } { "page" real } { "min" real } { "max" real } { "range" range } } +{ $values { "value" real } { "page" real } { "min" real } { "max" real } { "step" real } { "range" range } } { $description "Creates a new " { $link range } " model." } ; HELP: range-model diff --git a/extra/histogram/histogram-docs.factor b/extra/histogram/histogram-docs.factor index d81400fc0b..0c4059fa59 100755 --- a/extra/histogram/histogram-docs.factor +++ b/extra/histogram/histogram-docs.factor @@ -8,7 +8,7 @@ HELP: histogram } { $examples { $example "! Count the number of times an element appears in a sequence." - "USING: prettyprint sets ;" + "USING: prettyprint histogram ;" "\"aaabc\" histogram ." "H{ { 97 3 } { 98 1 } { 99 1 } }" } @@ -22,7 +22,7 @@ HELP: histogram* } { $examples { $example "! Count the number of times the elements of two sequences appear." - "USING: prettyprint sets ;" + "USING: prettyprint histogram ;" "\"aaabc\" histogram \"aaaaaabc\" histogram* ." "H{ { 97 9 } { 98 2 } { 99 2 } }" } @@ -36,7 +36,7 @@ HELP: sequence>assoc } { $examples { $example "! Iterate over a sequence and increment the count at each element" - "USING: assocs prettyprint sets ;" + "USING: assocs prettyprint histogram ;" "\"aaabc\" [ inc-at ] H{ } sequence>assoc ." "H{ { 97 3 } { 98 1 } { 99 1 } }" } @@ -50,7 +50,7 @@ HELP: sequence>assoc* } { $examples { $example "! Iterate over a sequence and add the counts to an existing assoc" - "USING: assocs prettyprint sets kernel ;" + "USING: assocs prettyprint histogram kernel ;" "H{ { 97 2 } { 98 1 } } clone \"aaabc\" [ inc-at ] sequence>assoc* ." "H{ { 97 5 } { 98 2 } { 99 1 } }" } @@ -64,7 +64,7 @@ HELP: sequence>hashtable } { $examples { $example "! Count the number of times an element occurs in a sequence" - "USING: assocs prettyprint sets ;" + "USING: assocs prettyprint histogram ;" "\"aaabc\" [ inc-at ] sequence>hashtable ." "H{ { 97 3 } { 98 1 } { 99 1 } }" }