It's not standard sets, it's a bit more than that, Perl 6 has sets of course, but Junctions should be able to autothread and express a sort of superposition of values.
http://doc.perl6.org/type/Junction
I could copy and paste the definition but it wouldn't be too helpful without context.