Thanks for the patch!  Unfortunately, this particular implementation
won't quite work because infix:<//> is a short-circuiting operator, and
the second argument should be evaluated only if the first is undefined.
 (Most other operators evaluate the arguments prior to making the
function call.)

Eventually we may have some sort of "thunk" type that delays evaluation
until actual usage inside of a function, but for now we're handling
short-circuiting as PAST nodes (e.g., 'if' and 'unless').  So, I've gone
ahead and implemented a temporary(?) defined-or pasttype in PCT and
added infix:<//> in r24348.

Thanks!

Pm

P.S.:  Patches for perl6 should probably be sent to [EMAIL PROTECTED]
instead of the parrotbug queue, but I'll take them however they come. 
Thanks again!  :-)

Reply via email to