Decidable membership and hashing for ISizeArray #
Decidable membership, slice hashing and the lawful BEq and Hashable
instances on slices. Left out of the float types, which have no DecidableEq.
@[implemented_by _private.ScalarArray.ISize.Decidable.0.ScalarArray.ISizeArray.decMemImpl]
Decides membership with contains. Logically it decides membership in a.toList, so that decide
can evaluate it.
Instances For
@[instance_reducible]
@[simp]
@[implemented_by _private.ScalarArray.ISize.Decidable.0.ScalarArray.ISizeArray.Slice.decMemImpl]
Decides membership with contains. Logically it decides membership in s.copy.toList, so that
decide can evaluate it.
Instances For
@[instance_reducible]
@[implemented_by _private.ScalarArray.ISize.Decidable.0.ScalarArray.ISizeArray.Slice.hashImpl]
The same hash as s.copy, so slices with the same elements have the same hash.
Instances For
@[instance_reducible]