db4
Doug Coleman 2008-08-30 15:05:21 -05:00
parent dad17acaf3
commit 7578efaeec
3 changed files with 6 additions and 6 deletions

View 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"

View 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"
ABOUT: "ctags"

View 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"
}