Documentation

ScalarArray.UInt32.Decidable

Decidable membership and hashing for UInt32Array #

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.UInt32.Decidable.0.ScalarArray.UInt32Array.decMemImpl]

Decides membership with contains. Logically it decides membership in a.toList, so that decide can evaluate it.

Equations
Instances For
    @[implemented_by _private.ScalarArray.UInt32.Decidable.0.ScalarArray.UInt32Array.Slice.decMemImpl]

    Decides membership with contains. Logically it decides membership in s.copy.toList, so that decide can evaluate it.

    Equations
    Instances For
      @[implemented_by _private.ScalarArray.UInt32.Decidable.0.ScalarArray.UInt32Array.Slice.hashImpl]

      The same hash as s.copy, so slices with the same elements have the same hash.

      Equations
      Instances For