Does the iterable s
contain t
? Equality is tested using same
.
Return a vector with only the distinct elements from the sequence s
.
Return a vector with only the distinct elements from the sequence s
.
"distinct" in this case means compare using same
.
Return the first zero-based index at which elem
occurs in s
using same
to perform comparisons, or -1 if elem
does not occur in s
.
Return the last zero-based index at which elem
occurs in s
using same
to perform comparisons, or -1 if elem
does not occur in s
.
Compare two arbitrary values.
Compare two arbitrary values. If they are both references and not
tuples, use reference equality. If they are tuples, use same
to
compare the components. Otherwise use value equality.
Compare two Iterable
collections or options and tuples containing that kind of
collection.
Compare two Iterable
collections or options and tuples containing that kind of
collection. Use same
to compare the individual elements in the same order.
Compare two Seq
collections or options and tuples containing that kind of
collection.
Compare two Seq
collections or options and tuples containing that kind of
collection. Use same
to compare the individual elements in any order.
Utility module for comparison routines.