assocs-docs: mark assoc-partition and partition as related words

char-rename
Alexander Iljin 2016-08-04 21:12:19 +03:00 committed by John Benediktsson
parent ee621f8a3e
commit 892e41c1ce
1 changed files with 2 additions and 0 deletions

View 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" } "." } ; { $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? HELP: assoc-any?
{ $values { "assoc" assoc } { "quot" { $quotation ( ... key value -- ... ? ) } } { "?" boolean } } { $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." } ; { $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." } ;