Hi, I need to (conceptually) add a field to the IntDisjointSets data structure available in DataStructures.jl, which is basically the size (number of elements) in each of the disjoint sets. What is the julian way to do this kind of "inheritance"? Should I create a new type which *contains* an IntDisjointSets object and another Vector, and then define the functions find_root and union! for that new structure?
Would there be interest in adding this to DataStructures once it's implemented? Thanks, David
