Documentation

ScalarArray.UInt8.Decidable

Decidable membership and hashing for UInt8Array #

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.UInt8.Decidable.0.ScalarArray.UInt8Array.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.UInt8.Decidable.0.ScalarArray.UInt8Array.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.UInt8.Decidable.0.ScalarArray.UInt8Array.Slice.hashImpl]

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

      Equations
      Instances For