Is it possible to "hyper" a hyper operator?

For example, given:

  my @m = ( [1,2], [3,4], [5,6] );

  my $a = @m + 1;
  my $b = @m +« 1;
  my $c = @m +«« 1;

is it true that:

  ok($a == 4);
  ok($b »==« [ 3, 3, 3 ];
  ok($c »»==«« [ [2,3], [4,5], [6,7] ];

Is there an "infinite depth" hyper operator for operating on trees?


Dave.


Reply via email to