Perl6-Math-Matrix icon indicating copy to clipboard operation
Perl6-Math-Matrix copied to clipboard

vertical bar operator hijacks slips

Open stuart-little opened this issue 5 years ago • 0 comments

As the title says, the prefix vertical bar used to flatten lists no longer functions when I use Math::Matrix: on the one hand

$ raku -e 'my @a=(1,);say |@a'
1

but on the other,

$  raku -MMath::Matrix -e 'my @a=(1,);say |@a'
===SORRY!=== Error while compiling -e
Undeclared routine:
    a used at line 1

I know the module provides a vertical-bar operator, but is this the intended behavior? It will certainly surprise users..

stuart-little avatar Dec 26 '20 14:12 stuart-little