Nemokosch how would you handle the union of disjoint intervals (I guess this has some mathematical term as well)? 10:41
if there is some unwrapping mechanism in sets, that's already a plus
lizmat m: dd ^10 .Set 10:42
camelia Set.new(5,6,3,7,1,4,8,2,9,0)
lizmat is that what you mean?
Nemokosch Kinda. Multiple intervals as one entity 15:16
SmokeMachine m: my $intervals = (0..3) | (5..8) | (9..12); say 1 ~~ $intervals; say 4 ~~ $intervals; say 10 ~~ $intervals 19:31
camelia True
False
True