]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/assoc-heaps/assoc-heaps-docs.factor
Fixing assorted compile errors and help lint warnings
[factor.git] / extra / assoc-heaps / assoc-heaps-docs.factor
index 8beaf9c4b1525dcf27096fc25cfe72f6dd8f3808..e5636dee3ee0887a03f2ea417f3eb8c80cdad2d5 100644 (file)
@@ -4,17 +4,15 @@ USING: help.markup help.syntax io.streams.string ;
 IN: assoc-heaps
 
 HELP: <assoc-heap>
+{ $values { "assoc" assoc } { "heap" heap } }
 { $description "Constructs a new " { $link assoc-heap } " from two existing data structures." } ;
 
 HELP: <unique-max-heap>
-{ $values
-    
-     { "unique-heap" assoc-heap } }
+{ $values { "unique-heap" assoc-heap } }
 { $description "Creates a new " { $link assoc-heap } " where the assoc is a hashtable and the heap is a max-heap. Popping an element from the heap leaves this element in the hashtable to ensure that the element will not be processed again." } ;
 
 HELP: <unique-min-heap>
-{ $values
-     { "unique-heap" assoc-heap } }
+{ $values { "unique-heap" assoc-heap } }
 { $description "Creates a new " { $link assoc-heap } " where the assoc is a hashtable and the heap is a min-heap. Popping an element from the heap leaves this element in the hashtable to ensure that the element will not be processed again." } ;
 
 { <unique-max-heap> <unique-min-heap> } related-words