extra: fix sets rename

db4
Doug Coleman 2015-08-12 13:58:20 -05:00
parent 948b1a650a
commit e4f5035257
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ IN: sets.extras
HELP: setwise-xor
{ $values
{ "seq1" sequence } { "seq2" sequence }
{ "set" set }
{ "set" unordered-set }
}
{ $description "Converts the sequences to sets and takes the element-wise " { $link xor } ". Outputs elements that are in either set but not in both." }
{ $example
@ -17,11 +17,11 @@ HELP: setwise-xor
{ $notes "Known as setxor1d in numpy." } ;
HELP: symmetric-diff
{ $values { "set1" set } { "set2" set } { "set" set } }
{ $values { "set1" unordered-set } { "set2" unordered-set } { "set" unordered-set } }
{ $description "Find the symmetric difference of two sets. Outputs a set containing elements that in either set but not in both." } ;
HELP: proper-subset?
{ $values { "set1" set } { "set2" set } { "?" boolean } }
{ $values { "set1" unordered-set } { "set2" unordered-set } { "?" boolean } }
{ $description "Find whether " { $snippet "set1" } " is a proper subset of " { $snippet "set2" } ". Returns true if " { $snippet "set1" } " is a subset of " { $snippet "set2" } " but " { $snippet "set2" } " is not a subset of " { $snippet "set1" } "." } ;
ARTICLE: "sets.extras" "Extra sets words"

View File

@ -125,7 +125,7 @@ ARTICLE: "yaml-mapping" "Mapping between Factor and YAML types"
"The following Factor types are not preserved, unless another type has precedence:"
{ $list
{ { $link assoc } " -> !!map -> " { $link hashtable } }
{ { $link set } " -> !!set -> " { $link hash-set } }
{ { $link unordered-set } " -> !!set -> " { $link hash-set } }
{ { $link sequence } " -> !!seq -> " { $link array } }
}
"Examples of type precedence which preserves type: " { $link byte-array } " over " { $link sequence } "."