package set

import "github.com/shaardie/set"

Package set provides functions and an interface to work with sets of finite or infinite mathematical sets.
There is a distinction between definitely finite sets which provides an explicit representation and non definitely finite sets which are lacking some functionality and performance but are able to handle infinite sets.

DefinitelyFinite() implements the indicator for a set to be definitely finite.
But caution: `DefinitlyFinite() == false` does not mean that this set could not be finite, too.
Definitely finite sets have the ability to count their elements and show them explicit in arrays.
Therefore, definitely finite set implementations should also implement Cardinality() and List() since those will be used by functions like Difference(a Set, b Set) to be able to speed up the handling of sets.
Countable() is deprecated. Better use DefinitelyFinite().