From 7578efaeec3343e53af5d74367a18eef10377e48 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 30 Aug 2008 15:05:21 -0500 Subject: [PATCH] fix docs --- basis/persistent/heaps/heaps-docs.factor | 2 +- extra/ctags/ctags-docs.factor | 4 ++-- extra/math/derivatives/derivatives-docs.factor | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/basis/persistent/heaps/heaps-docs.factor b/basis/persistent/heaps/heaps-docs.factor index dbfadc4ed2..a56022a039 100644 --- a/basis/persistent/heaps/heaps-docs.factor +++ b/basis/persistent/heaps/heaps-docs.factor @@ -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" diff --git a/extra/ctags/ctags-docs.factor b/extra/ctags/ctags-docs.factor index 32f3e05c6e..b984cdce54 100644 --- a/extra/ctags/ctags-docs.factor +++ b/extra/ctags/ctags-docs.factor @@ -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" diff --git a/extra/math/derivatives/derivatives-docs.factor b/extra/math/derivatives/derivatives-docs.factor index 15dd954b1c..b206b9a601 100644 --- a/extra/math/derivatives/derivatives-docs.factor +++ b/extra/math/derivatives/derivatives-docs.factor @@ -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" }