public override int GetHashCode() =>
 hashCode == 0
         ? hashCode = FNV32.Hash <OrdA, A>(this.AsEnumerable())
         : hashCode;
Beispiel #2
0
 public static int hash <HashA, A>(IEnumerable <A> xs) where HashA : struct, Hashable <A> =>
 FNV32.Hash <HashA, A>(xs);
Beispiel #3
0
 public override int GetHashCode() =>
 hashCode == 0
         ? hashCode = FNV32.Hash <HashableDefault <A>, A>(this)
         : hashCode;
Beispiel #4
0
 public static int hash <A>(IEnumerable <A> xs) =>
 FNV32.Hash <HashableDefault <A>, A>(xs);