Darren Duncan wrote:
$bag1 - 1; # Bag(2,7,[1,Seq(8,2)],7)
$bag2 - (1,1,1,1); # probably the same
$bag3 - (1,1,2,1); # ?
Bag's won't .does(Array) or .does(Coll[Seq,...]), so that hyperoperator
won't work - if anything it would try to add the (1,1,1,1) list to all
of the
At 4:11 PM +1200 5/23/06, Sam Vilain wrote:
Darren Duncan wrote:
$bag1 - 1; # Bag(2,7,[1,Seq(8,2)],7)
$bag2 - (1,1,1,1); # probably the same
$bag3 - (1,1,2,1); # ?
Bag's won't .does(Array) or .does(Coll[Seq,...]), so that hyperoperator
won't work - if anything it
I know they were just introduced, but I have a question about the
conceptual validity of the following statements in S03, which appear
in the newly edited hyper-operators section:
Bag(3,8,[2,Seq(9,3]],8) - 1; # Bag(2,7,[1,Seq(8,2)],7)
Bag(3,8,[2,Seq(9,3)],8) - (1,1,1,1); #
Er, I meant to say subtracted where I said added. -- Darren Duncan