On Saturday, December 26, 2015, Ray Toal <[email protected]> wrote: > I noticed that > > *julia> **subtypes(Type)* > > *3-element Array{Any,1}:* > > * DataType * > > * TypeConstructor* > > * Union * > > and was wondering if there was any significance in the order of the > subtypes. If not, could the method have produced a Set instead? > > It could, but why? A set has a bit more overhead than an array, and for most types, the number of subtypes is small enough that sets wouldn't really offer any advantage.
Is there something you want to do with the results that you think requires a set? Cheers, Kevin
