PublicShow sourceoset.pl -- Ordered set manipulation

This library defines set operations on sets represented as ordered lists.

author
- Jon Jagger
deprecated
- Use the de-facto library ordsets.pl
Sourceoset_is(+OSet)
check that OSet in correct format (standard order)
Sourceoset_union(+OSet1, +OSet2, -Union)
Sourceoset_int(+OSet1, +OSet2, -Int)
ordered set intersection
Sourceoset_diff(+InOSet, +NotInOSet, -Diff)
ordered set difference
Sourceoset_dunion(+SetofSets, -DUnion)
distributed union
Sourceoset_dint(+SetofSets, -DInt)
distributed intersection
Sourceoset_power(+Set, -PSet)
True when PSet is the powerset of Set. That is, Pset is a set of all subsets of Set, where each subset is a proper ordered set.
Sourceoset_addel(+Set, +El, -Add)
ordered set element addition
Sourceoset_delel(+Set, +El, -Del)
ordered set element deletion