Module iter

Source
Expand description

Definition of Predicates for comparisons of membership in a set.

Structs§

HashableInPredicate
Predicate that returns true if variable is a member of the pre-defined HashSet, otherwise returns false.
InPredicate
Predicate that returns true if variable is a member of the pre-defined set, otherwise returns false.
OrdInPredicate
Predicate that returns true if variable is a member of the pre-defined set, otherwise returns false.

Functions§

in_hash
Creates a new predicate that will return true when the given variable is contained with the set of items provided.
in_iter
Creates a new predicate that will return true when the given variable is contained with the set of items provided.