]> gitweb.factorcode.org Git - factor.git/commitdiff
fix help lint
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 30 Oct 2009 18:35:20 +0000 (13:35 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 30 Oct 2009 18:35:20 +0000 (13:35 -0500)
basis/help/lint/checks/checks.factor
basis/math/statistics/statistics-docs.factor

index dac3900cc923c303824944f45eac80ddcf2e5551..340f9b16d3c1255f5c6c4abe03c81c59b895ccbc 100644 (file)
@@ -44,6 +44,7 @@ SYMBOL: vocab-articles
 : contains-funky-elements? ( element -- ? )
     {
         $shuffle
+        $complex-shuffle
         $values-x/y
         $predicate
         $class-description
index 9e812d94caa053ca210fcdd8c6ef63b4fa77eb81..3b6e7d62ba5488a630bfad30d845656fe5c8e41a 100644 (file)
@@ -77,7 +77,7 @@ HELP: histogram
 }
 { $examples 
     { $example "! Count the number of times an element appears in a sequence."
-               "USING: prettyprint histogram ;"
+               "USING: prettyprint math.statistics ;"
                "\"aaabc\" histogram ."
                "H{ { 97 3 } { 98 1 } { 99 1 } }"
     }
@@ -91,7 +91,7 @@ HELP: histogram*
 }
 { $examples 
     { $example "! Count the number of times the elements of two sequences appear."
-               "USING: prettyprint histogram ;"
+               "USING: prettyprint math.statistics ;"
                "\"aaabc\" histogram \"aaaaaabc\" histogram* ."
                "H{ { 97 9 } { 98 2 } { 99 2 } }"
     }
@@ -105,7 +105,7 @@ HELP: sequence>assoc
 }
 { $examples 
     { $example "! Iterate over a sequence and increment the count at each element"
-               "USING: assocs prettyprint histogram ;"
+               "USING: assocs prettyprint math.statistics ;"
                "\"aaabc\" [ inc-at ] H{ } sequence>assoc ."
                "H{ { 97 3 } { 98 1 } { 99 1 } }"
     }
@@ -119,7 +119,7 @@ HELP: sequence>assoc*
 }
 { $examples 
     { $example "! Iterate over a sequence and add the counts to an existing assoc"
-               "USING: assocs prettyprint histogram kernel ;"
+               "USING: assocs prettyprint math.statistics kernel ;"
                "H{ { 97 2 } { 98 1 } } clone \"aaabc\" [ inc-at ] sequence>assoc* ."
                "H{ { 97 5 } { 98 2 } { 99 1 } }"
     }
@@ -133,7 +133,7 @@ HELP: sequence>hashtable
 }
 { $examples 
     { $example "! Count the number of times an element occurs in a sequence"
-               "USING: assocs prettyprint histogram ;"
+               "USING: assocs prettyprint math.statistics ;"
                "\"aaabc\" [ inc-at ] sequence>hashtable ."
                "H{ { 97 3 } { 98 1 } { 99 1 } }"
     }