fix docs
parent
dad17acaf3
commit
7578efaeec
|
@ -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." } ;
|
{ $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
|
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." } ;
|
{ $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"
|
ARTICLE: "persistent-heaps" "Persistent heaps"
|
||||||
|
|
|
@ -23,7 +23,7 @@ HELP: ctags ( path -- )
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
HELP: ctags-write ( seq path -- )
|
HELP: ctags-write ( seq path -- )
|
||||||
{ $values { "alist" "an association list" }
|
{ $values { "seq" sequence }
|
||||||
{ "path" "a pathname string" } }
|
{ "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" }
|
{ $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
|
{ $examples
|
||||||
|
|
|
@ -10,7 +10,7 @@ HELP: derivative ( x function -- m )
|
||||||
}
|
}
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example
|
{ $example
|
||||||
"USING: math.derivatives prettyprint ;"
|
"USING: math math.derivatives prettyprint ;"
|
||||||
"[ sq ] 4 derivative ."
|
"[ sq ] 4 derivative ."
|
||||||
"8"
|
"8"
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ HELP: (derivative) ( x function h err -- m )
|
||||||
}
|
}
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example
|
{ $example
|
||||||
"USING: math.derivatives prettyprint ;"
|
"USING: math math.derivatives prettyprint ;"
|
||||||
"[ sq ] 4 derivative ."
|
"[ sq ] 4 derivative ."
|
||||||
"8"
|
"8"
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ HELP: derivative-func ( function -- der )
|
||||||
}
|
}
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example
|
{ $example
|
||||||
"USING: math.derivatives prettyprint ;"
|
"USING: math.derivatives math.trig prettyprint ;"
|
||||||
"60 deg>rad [ sin ] derivative-func call ."
|
"60 deg>rad [ sin ] derivative-func call ."
|
||||||
"0.5000000000000173"
|
"0.5000000000000173"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue