]> gitweb.factorcode.org Git - factor.git/blobdiff - core/sets/sets-docs.factor
sets: rename combine/refine to union-all/intersect-all
[factor.git] / core / sets / sets-docs.factor
index 9cef927770e2f33994e69a79a2181a123a1bde36..15cab025f8d1b4b63cbd61a11574af6f0187cf8a 100644 (file)
@@ -45,8 +45,8 @@ ARTICLE: "set-operations" "Operations on sets"
 }
 "Operations on groups of sets:"
 { $subsections
-    combine
-    refine
+    union-all
+    intersect-all
 }
 "An optional generic word for creating sets of the same class as a given set:"
 { $subsections set-like }
@@ -226,10 +226,10 @@ HELP: cardinality
 { $values { "set" set } { "n" "a non-negative integer" } }
 { $description "Returns the number of elements in the set. All sets support this operation." } ;
 
-HELP: refine
+HELP: intersect-all
 { $values { "sets" sequence } { "set/f" { $maybe set } } }
 { $description "Outputs the intersection of all the sets of the sequence " { $snippet "sets" } ", or " { $link f } " if " { $snippet "sets" } " is empty." } ;
 
-HELP: combine
+HELP: union-all
 { $values { "sets" { $sequence set } } { "set/f" { $maybe set } } }
 { $description "Outputs the union of a sequence of sets, or " { $link f } " if the sequence is empty." } ;