]> gitweb.factorcode.org Git - factor.git/commitdiff
hashtables: fix docs differently.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Jul 2015 04:51:02 +0000 (21:51 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Jul 2015 04:51:02 +0000 (21:51 -0700)
core/hashtables/hashtables-docs.factor

index e79d405f124d3ed4c8416e9834d0baac910a3466..08c1dd11016d873bc88b5bcb20020bbd4ed25e32 100644 (file)
@@ -1,5 +1,5 @@
-USING: arrays assocs hashtables.private help.markup help.syntax
-kernel sequences ;
+USING: assocs hashtables.private help.markup help.syntax kernel
+sequences ;
 IN: hashtables
 
 ARTICLE: "hashtables.private" "Hashtable implementation details"
@@ -79,7 +79,7 @@ HELP: new-key@
 { $description "Searches the hashtable for the key using a quadratic probing strategy. If the key is not present in the hashtable, outputs the index where it should be stored." } ;
 
 HELP: set-nth-pair
-{ $values { "value" "the second element of the pair" } { "key" "the first element of the pair" } { "array" array } { "n" "an index in the sequence" } }
+{ $values { "value" "the second element of the pair" } { "key" "the first element of the pair" } { "array" "the underlying array of the hashtable" } { "n" "an index in the sequence" } }
 { $description "Stores a pair of values into the elements with index " { $snippet "n" } " and " { $snippet "n+1" } ", respectively." }
 { $warning "This word is in the " { $vocab-link "hashtables.private" } " vocabulary because it does not perform bounds checks." }
 { $side-effects "seq" } ;