{ $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"
} ;
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
} ;
-ABOUT: "ctags"
\ No newline at end of file
+ABOUT: "ctags"
}
{ $examples
{ $example
- "USING: math.derivatives prettyprint ;"
+ "USING: math math.derivatives prettyprint ;"
"[ sq ] 4 derivative ."
"8"
}
}
{ $examples
{ $example
- "USING: math.derivatives prettyprint ;"
+ "USING: math math.derivatives prettyprint ;"
"[ sq ] 4 derivative ."
"8"
}
}
{ $examples
{ $example
- "USING: math.derivatives prettyprint ;"
+ "USING: math.derivatives math.trig prettyprint ;"
"60 deg>rad [ sin ] derivative-func call ."
"0.5000000000000173"
}