No matching definitions.

tur/typeclass-hash

stdlib/typeclass-hash.tur

minimal Hash typeclass stub for typed-collection keys.

Since: Phase GHE0

definstance

Hash[int]

(definstance Hash [int])

Hash instance for int (identity hash).

definstance

Hash[bool]

(definstance Hash [bool])

Hash instance for bool (0 for false, 1 for true).

definstance

Hash[cstr]

(definstance Hash [cstr])

Hash instance for cstr (content hash via tur_hamt_hash_str).

definstance

Hash[float32]

(definstance Hash [float32])

Hash instance for float32 (bit-cast and hash).

definstance

Hash[float]

(definstance Hash [float])

Hash instance for float (float64): hash the IEEE-754 bits.