Nicholas Clark wrote:
On Sun, Feb 20, 2005 at 07:41:16PM +1100, Damian Conway wrote:
Given this:
my $x = set(1..3);
my $y = set(1,3,5,7,9);
my $n = 2;
$x | $y # set(1,2,3,5,7,9)
$x & $y # set(1,3)
$x - $y # set(2)
!$x # set(none(2)) ;-)
I don't understand this last line, even given the context of the preceding
three. Why is it none of 2, rather than none of something else?
ESTUPIDDAMIAN.
Should, of course be:
!$x # set(none(1..3)) ;-)
Damian
PS: This is also a demonstration of the awesome power of junctions: that we
can specify the complement of a set without knowing its universal set!