Procs
proc hash(x: float): int {....raises: [], tags: [], forbids: [].}
-
Warning: this uses std/hashes algorithm, which differs from CPython's. Also, a==b <=> hash(a) == hash(b), where a, b are of different types, is not guaranteed.Source Edit
proc hash(x: int): int {....raises: [], tags: [], forbids: [].}
-
Warning: this uses std/hashes algorithm, which differs from CPython's. Also, a==b <=> hash(a) == hash(b), where a, b are of different types, is not guaranteed.Source Edit
proc hash(x: proc): int
-
Warning: this uses std/hashes algorithm, which differs from CPython's. Also, a==b <=> hash(a) == hash(b), where a, b are of different types, is not guaranteed.Source Edit
proc hash(x: PyStr | PyBytes): int
-
Warning: this uses std/hashes algorithm, which differs from CPython's. Also, a==b <=> hash(a) == hash(b), where a, b are of different types, is not guaranteed.Source Edit
proc hash(x: PyTComplex): int
-
Warning: this uses std/hashes algorithm, which differs from CPython's. Also, a==b <=> hash(a) == hash(b), where a, b are of different types, is not guaranteed.Source Edit