On Sun Oct 03 10:35:17 2010, ash_gti wrote:
> $ perl6
> > &infix:<Xxx>
> Could not find sub &infix:<Xxx>
> > 1 Xxx 2
> 1 1
> 
> 
> <TimToady> so Xxx really means something like crosswith(&infix:<xx>)
> <TimToady> however, a p6 implementation should be able to generate
> &infix:<Xxx> at need
> 
> So, there should be some &infix:<Xxx> function generated, somehow...
> 
> I am not sure how to generate those, because Meta-ops can be repeated, but
> just filling the bug report so people know about the issue.
> 
> --
> John Harrison

I'm not sure I understand this correctly, but doesn't TimToady++'s explanation 
mean, that the current implementation (which is unchanged) is correct and this 
is not a bug?

It's possible to define an infix:<Xxx> with rakudo, like

$ perl6-m -e 'sub infix:<Xxx> ($a, *@b) { return 42 }; say 2 Xxx <foo bar>'
42



Reply via email to