]> gitweb.factorcode.org Git - factor.git/commitdiff
assocs-docs: mark assoc-partition and partition as related words
authorAlexander Iljin <ajsoft@yandex.ru>
Thu, 4 Aug 2016 18:12:19 +0000 (21:12 +0300)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 11 Aug 2016 02:42:20 +0000 (19:42 -0700)
core/assocs/assocs-docs.factor

index 69591c7463c554e78c613febb6bea3f796815a82..8fe38fd3811096b3a8f799b11153f07e9cfe90b4 100644 (file)
@@ -328,6 +328,8 @@ HELP: assoc-partition
 }
 { $description "Calls a predicate quotation on each key of the input assoc. If the test yields true, the key/value pair is added to " { $snippet "true-assoc" } "; if false, it's added to " { $snippet "false-assoc" } "." } ;
 
+{ assoc-partition partition } related-words
+
 HELP: assoc-any?
 { $values { "assoc" assoc } { "quot" { $quotation ( ... key value -- ... ? ) } } { "?" boolean } }
 { $description "Tests if the assoc contains an entry satisfying a predicate by applying the quotation to each entry in turn. Iteration stops if an entry is found for which the quotation outputs a true value." } ;