> sub factorial (Int $n is topic) { > return 1 when 0; > return $n * factorial $n; > }
hmm, could we write... sub foo (Class $self is topic: +$foo, +$bar) { .method; } to avoid having to use ./ ? Cheers, Carl
> sub factorial (Int $n is topic) { > return 1 when 0; > return $n * factorial $n; > }
hmm, could we write... sub foo (Class $self is topic: +$foo, +$bar) { .method; } to avoid having to use ./ ? Cheers, Carl