This currently works in Pugs:

    for [1..10].pairs -> Pair $x { say $x.value }

But this does not:

    for [1..10].pairs -> $x { say $x.value }

Because the ruling that pairs must not be bound to parameters that are
not explicitly declared to handle them.  Is this a desirable behaviour?

Thanks,
/Autrijus/

Attachment: pgp5r3rYqcaLb.pgp
Description: PGP signature

Reply via email to