Mason Kramer wrote: > But I don't think that thinking about who is subclassing whom is is how to > think about this in Perl 6. All of these types are capable of doing the > Iterable role, and that is what methods that could operate on a List, Array, > Bag, or Set, should be calling for.
This. Really, as long as Set does Iterable, it's not as important if it's treated as hash-like or list-like - though I'd still prefer to deal with @sets rather than %sets. Conceptually, it feels like a better fit. -- Jonathan "Dataweaver" Lang