fromUniversalHashCode<A> static method

Hash<A> fromUniversalHashCode<A>()

Constructs a Hash instance by using the universal hashCode function and the universal equality relation.

Implementation

static Hash<A> fromUniversalHashCode<A>() =>
    _Hash((x, y) => x == y, (x) => x.hashCode);