Patrick R. Michaud via RT wrote:
On Sat, Sep 27, 2008 at 12:18:21AM -0700, Vasily Chekalkin wrote:
Hello.
There is implementation of Pair.pairs. +3 passed tests in "S29-hash/pairs.t"
+ $P0 = get_hll_namespace ['Perl6Pair']
+ '!EXPORT'('pairs', $P0)
It's probably wrong to export 'pairs' here -- the exported pairs
function should be the one that is on 'Any'. Either that or it
needs to be a :multi so that we can distinguish between them.
It's not clear for me, should it be part of Any. Probably it shouldn't
be exported at all.
--
Bacek