Is it possible to access the "callee" ("this") in Raku map code block and/or whatevercode?
E.g. if one wanted to calculate arithmetic mean
my $data = <1 10 0 7 2> ;
say $data.sum
/ $data ; # or @$data, same as $data.elems in this numeric context
# OUTPUT: «4»
by sum of fractions
say $data.map(* / $data).sum
# OUTPUT: «4»
like
<1 10 0 7 2>.map({ $_ / $this }).sum # but there's no $this
or
<1 10 0 7 2>.map( * / $this ).sum
If not, is there an idiomatic way to do it with only a chain of method calls on the <…> data literal, or different way, without storing the data in variable?