Format | empty_ordset($Set) | |||
---|---|---|---|---|
Arguments |
| |||
an empty set |
Format | list_to_ord_set(+$List, -$Set) | ||||||
---|---|---|---|---|---|---|---|
Arguments |
| ||||||
convert a list to a set |
Format | ord_add_element(+$Set1, +$Elem, -$Set2) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Arguments |
| |||||||||
$Elem is inserted into $Set1, and the result is returned to $Set2. |
Format | ord_del_element(+$Set1, +$Elem, -$Set2) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Arguments |
| |||||||||
$Elem is deleted from $Set1, and the result is returned to $Set2. |
Format | ord_member(+$Elem, +$Set) | ||||||
---|---|---|---|---|---|---|---|
Arguments |
| ||||||
true if $Elem is an element of $Set |
Format | set_seteq(+$Set1, +$Set2) | ||||||
---|---|---|---|---|---|---|---|
Arguments |
| ||||||
This is true when $Set1 and $Set2 are equivalent |
Format | ord_subset(+$Set1, +$Set2) | ||||||
---|---|---|---|---|---|---|---|
Arguments |
| ||||||
This is true when $Set1 is a subset of $Set2 |
Format | ord_union(+$Set1, +$Set2, -$Set3) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Arguments |
| |||||||||
$Set1 and $Set2 are merged, and the result is returned to $Set3. |