my @squares := apply { $_ * $_ } 2..5; multi apply(&func, *$head, *@tail) { return func($head), apply(&func <== @tail); }