]> gitweb.factorcode.org Git - factor.git/commitdiff
fix docs
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 30 Aug 2008 20:05:21 +0000 (15:05 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 30 Aug 2008 20:05:21 +0000 (15:05 -0500)
basis/persistent/heaps/heaps-docs.factor
extra/ctags/ctags-docs.factor
extra/math/derivatives/derivatives-docs.factor

index dbfadc4ed276aae495e8efec8273c43f1a6d0daf..a56022a039876be7b61cc33e91868e4e0c9c5b12 100644 (file)
@@ -38,7 +38,7 @@ HELP: pheap>alist
 { $description "Creates an association list whose keys are the entries in the heap and whose values are the associated priorities. It is in sorted order by priority. This does not modify the heap." } ;
 
 HELP: pheap>values
-{ $values { "heap" "a persistent heap" } { "values" array } }
+{ $values { "heap" "a persistent heap" } { "seq" array } }
 { $description "Creates an an array of all of the values in the heap, in sorted order by priority. This does not modify the heap." } ;
 
 ARTICLE: "persistent-heaps" "Persistent heaps"
index 32f3e05c6e41ab4a20428082146b740b64112bf8..b984cdce543bfc84c82e138d0ce33bb1085a69ef 100644 (file)
@@ -23,7 +23,7 @@ HELP: ctags ( path -- )
 } ;
 
 HELP: ctags-write ( seq path -- )
-{ $values { "alist" "an association list" }
+{ $values { "seq" sequence }
           { "path" "a pathname string" } }
 { $description "Stores a " { $snippet "alist" } " in " { $snippet "path" } ". " { $snippet "alist" } " must be an association list with ctags format: key must be a valid word and value a sequence whose first element is a resource name and second element is a line number" }
 { $examples
@@ -97,4 +97,4 @@ HELP: ctag-word ( ctag -- word )
 } ;
 
 
-ABOUT: "ctags"
\ No newline at end of file
+ABOUT: "ctags"
index 15dd954b1c42d58cb20289c0dc86dc09d7912901..b206b9a601646bdb5b578a93d2d10520b6852900 100644 (file)
@@ -10,7 +10,7 @@ HELP: derivative ( x function -- m )
 }
 { $examples
     { $example
-        "USING: math.derivatives prettyprint ;"
+        "USING: math math.derivatives prettyprint ;"
         "[ sq ] 4 derivative ."
         "8"
     }
@@ -50,7 +50,7 @@ HELP: (derivative) ( x function h err -- m )
 }
 { $examples
     { $example
-        "USING: math.derivatives prettyprint ;"
+        "USING: math math.derivatives prettyprint ;"
         "[ sq ] 4 derivative ."
         "8"
     }
@@ -68,7 +68,7 @@ HELP: derivative-func ( function -- der )
 }
 { $examples
     { $example
-        "USING: math.derivatives prettyprint ;"
+        "USING: math.derivatives math.trig prettyprint ;"
         "60 deg>rad [ sin ] derivative-func call ."
         "0.5000000000000173"
     }