Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: f09c4bff51
Fetching contributors…

Cannot retrieve contributors at this time

6 lines (5 sloc) 0.141 kB
use v6;
for $*IN.lines() -> $text
{
say $text.subst(/x_(\d) y_(\d)/, { "\$a.coordinates[{$0 - 1}] * \$b.coordinates[{$1 - 1}]" }, :g);
}
Jump to Line
Something went wrong with that request. Please try again.