We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hash
widen
1 parent 6c9897c commit 4c69200Copy full SHA for 4c69200
1 file changed
base/hashing.jl
@@ -11,9 +11,7 @@ optional second argument `h` is another hash code to be mixed with the result.
11
New types should implement the 2-argument form, typically by calling the 2-argument `hash`
12
method recursively in order to mix hashes of the contents with each other (and with `h`).
13
Typically, any type that implements `hash` should also implement its own [`==`](@ref) (hence
14
-[`isequal`](@ref)) to guarantee the property mentioned above. Types supporting subtraction
15
-(operator `-`) should also implement [`widen`](@ref), which is required to hash
16
-values inside heterogeneous arrays.
+[`isequal`](@ref)) to guarantee the property mentioned above.
17
18
The hash value may change when a new Julia process is started.
19
0 commit comments