On Friday, November 14, 2014 3:42:36 PM UTC-5, Simon Danisch wrote: > > So one must implement both hash(object, hash), and isequal(a,b) for a set > to work... > Makes sense! > Thanks a lot :) >
Except that you should normally extend ==, not isequal, in order to get both methods. See https://github.com/JuliaLang/julia/issues/8343 and https://github.com/JuliaLang/julia/issues/6833
