Hi,
Luke Palmer luke at luqui.org writes:
Stevan Little writes:
One tests shows $pair.kv returning an array with two elements (the key
and value of the pair). (This is also how Pugs currently implements
this.)
The former is certainly correct. When all else fails, consider a
Hello all,
Autrijus asked me to look into the correct behavior for $pair.kv
yesterday, and I have been doing some spring cleaning of the Pugs test
suite, and found we actually have two conflicting tests for it. So I am
asking here to see what the official word is so that I can correct our
--- Stevan Little [EMAIL PROTECTED] wrote:
Autrijus asked me to look into the correct behavior for $pair.kv
One tests shows $pair.kv returning an array with two elements (the
key
and value of the pair). (This is also how Pugs currently implements
this.)
Another test shows $pair.kv
Stevan Little writes:
One tests shows $pair.kv returning an array with two elements (the key
and value of the pair). (This is also how Pugs currently implements
this.)
Another test shows $pair.kv returning an array with one element which
is an array-ref/list which itself has 2 elements